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}")/../.."
source ./ci/lib.sh
rm -Rf \
rm -rf \
out \
release \
release-standalone \
release-packages \
release-gcp \
release-images/ \
release-images \
dist \
.tsbuildinfo \
.cache/out.tsbuildinfo
.cache
pushd lib/vscode
git clean -xffd