Skip to content

Commit 18f18fb

Browse files
committed
updated the 'superclean' script to not nuke any important binaries while erasing all compiler outputs.
1 parent 1e66fcf commit 18f18fb

File tree

3 files changed

+117
-116
lines changed

3 files changed

+117
-116
lines changed

Qiqqa.Build/nant/bin/extensions/common/2.0/NAnt.MSBuild.xml

Lines changed: 112 additions & 112 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

superclean.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@
1111

1212
# Blow away NuPkg cache
1313
rm -rf packages
14+
rm -rf node_modules
1415

1516
# Nuke anything that's part of the MSVS build process
16-
find . -maxdepth 2 -type d -iname obj -exec rm -rf "{}" +
17-
find . -maxdepth 2 -type d -iname bin -exec rm -rf "{}" +
17+
find . -maxdepth 5 -type d -iname obj -a ! -ipath './libs/*' -a ! -ipath './Qiqqa.Build/nant/*' -a ! -ipath '*openjpeg/src/bin' -exec rm -rf "{}" +
18+
find . -maxdepth 5 -type d -iname bin -a ! -ipath './libs/*' -a ! -ipath './Qiqqa.Build/nant/*' -a ! -ipath '*openjpeg/src/bin' -a ! -ipath '*research*' -exec rm -rf "{}" +
1819

1920
# and nuke the MSVS local config cache
20-
rm -rf .vs
21+
find . -maxdepth 5 -type d -iname '.vs' -exec rm -rf "{}" +

0 commit comments

Comments
 (0)