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:
parent
6539dd4dbe
commit
5c6cd11836
@ -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
|
||||||
|
Reference in New Issue
Block a user