code-server/ci/build/clean.sh

25 lines
332 B
Bash
Raw Normal View History

2020-02-15 07:54:52 +08:00
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "${0}")/../.."
source ./ci/lib.sh
rm -Rf \
out \
release \
release-static \
release-packages \
release-gcp \
dist \
.tsbuildinfo \
.cache/out.tsbuildinfo
pushd lib/vscode
git clean -xffd
git reset --hard
popd
2020-02-15 07:54:52 +08:00
}
main "$@"