mirror of
https://github.com/coder/code-server.git
synced 2024-12-05 07:13:06 +08:00
5c6cd11836
tsc doesn't check if the output exists when incremental is true. i.e if I delete the out directory, but keep the tsbuildinfo and try to rebuild, nothing happens cause it thinks everything is up to date I guess... With this change, yarn clean will now remove the tsbuildinfo correctly so things work as expected.
25 lines
322 B
Bash
Executable File
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 "$@"
|