Archived
1
0

Fix clean.sh

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.
This commit is contained in:
Anmol Sethi 2020-08-26 10:32:24 -04:00
parent 6539dd4dbe
commit 5c6cd11836
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -5,16 +5,15 @@ main() {
cd "$(dirname "${0}")/../.." cd "$(dirname "${0}")/../.."
source ./ci/lib.sh source ./ci/lib.sh
rm -Rf \ rm -rf \
out \ out \
release \ release \
release-standalone \ release-standalone \
release-packages \ release-packages \
release-gcp \ release-gcp \
release-images/ \ release-images \
dist \ dist \
.tsbuildinfo \ .cache
.cache/out.tsbuildinfo
pushd lib/vscode pushd lib/vscode
git clean -xffd git clean -xffd