code-server/ci/build/clean.sh

25 lines
322 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "${0}")/../.."
source ./ci/lib.sh
rm -rf \
out \
release \
release-standalone \
release-packages \
release-gcp \
release-images \
dist \
.cache
pushd lib/vscode
git clean -xffd
git reset --hard
popd
}
main "$@"