diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/client/tsc.sh | 2 | ||||
-rwxr-xr-x | scripts/clean/client/tsc.sh | 1 | ||||
-rwxr-xr-x | scripts/danger/clean/modules.sh | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/scripts/build/client/tsc.sh b/scripts/build/client/tsc.sh index ec06b643a..cca1643d4 100755 --- a/scripts/build/client/tsc.sh +++ b/scripts/build/client/tsc.sh | |||
@@ -1,5 +1,5 @@ | |||
1 | #!/usr/bin/env sh | 1 | #!/usr/bin/env sh |
2 | 2 | ||
3 | cd client || exit -1 | 3 | cd client || exit -1 |
4 | 4 | node systemjs.bundle.js | |
5 | npm run tsc | 5 | npm run tsc |
diff --git a/scripts/clean/client/tsc.sh b/scripts/clean/client/tsc.sh index 775157a54..3ea6e78d5 100755 --- a/scripts/clean/client/tsc.sh +++ b/scripts/clean/client/tsc.sh | |||
@@ -2,3 +2,4 @@ | |||
2 | 2 | ||
3 | cd client || exit -1 | 3 | cd client || exit -1 |
4 | find angular -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \; | 4 | find angular -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \; |
5 | rm -rf ./bundles | ||
diff --git a/scripts/danger/clean/modules.sh b/scripts/danger/clean/modules.sh index 1aa6c732b..d357e1b77 100755 --- a/scripts/danger/clean/modules.sh +++ b/scripts/danger/clean/modules.sh | |||
@@ -3,5 +3,5 @@ | |||
3 | read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r | 3 | read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r |
4 | 4 | ||
5 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then | 5 | if [[ "$REPLY" =~ ^[Yy]$ ]]; then |
6 | rm -rf node_modules client/node_modules client/typings | 6 | rm -rf node_modules client/node_modules client/typings/{browser,main}* |
7 | fi | 7 | fi |