code-server-2/ci/build/clean.sh

27 lines
347 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 \
node-* \
.home
pushd lib/vscode
git clean -xffd
git reset --hard
popd
}
main "$@"