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