aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-13 14:18:37 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-13 14:23:11 +0200
commit230809efa1e7e81ce60cd65f8b398f01a27d525b (patch)
treeddbd0cee82bd2d35d01a1307a2905a467f51ca6b /scripts
parentbc503c2a62dcf9aed6b8d90b68f0f27a7755ac01 (diff)
downloadPeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.gz
PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.tar.zst
PeerTube-230809efa1e7e81ce60cd65f8b398f01a27d525b.zip
Update to Angular RC 1
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client/tsc.sh2
-rwxr-xr-xscripts/clean/client/tsc.sh1
-rwxr-xr-xscripts/danger/clean/modules.sh2
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
3cd client || exit -1 3cd client || exit -1
4 4node systemjs.bundle.js
5npm run tsc 5npm 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
3cd client || exit -1 3cd client || exit -1
4find angular -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \; 4find angular -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \;
5rm -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 @@
3read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r 3read -p "This will remove all node and typescript modules. Are you sure? " -n 1 -r
4 4
5if [[ "$REPLY" =~ ^[Yy]$ ]]; then 5if [[ "$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}*
7fi 7fi