diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-13 14:18:37 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-13 14:23:11 +0200 |
commit | 230809efa1e7e81ce60cd65f8b398f01a27d525b (patch) | |
tree | ddbd0cee82bd2d35d01a1307a2905a467f51ca6b /scripts | |
parent | bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01 (diff) | |
download | PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.gz PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.zst PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.zip |
Update to Angular RC 1
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 |