diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 11:17:50 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 12:56:36 +0200 |
commit | 9353449515ff6881a54ce6887297b7eab2855186 (patch) | |
tree | d3a6a3e84b3684e3689c4b40ed2e1d53b26a3dc8 /scripts/watch | |
parent | 1342381694456da6bfcb01a6f9e23c54cc90c82e (diff) | |
download | PeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.gz PeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.zst PeerTube-9353449515ff6881a54ce6887297b7eab2855186.zip |
Use scripty instead of writing shell commands in package.json
Diffstat (limited to 'scripts/watch')
-rwxr-xr-x | scripts/watch/client/sass.sh | 7 | ||||
-rwxr-xr-x | scripts/watch/client/tsc.sh | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/scripts/watch/client/sass.sh b/scripts/watch/client/sass.sh new file mode 100755 index 000000000..7d716cb7c --- /dev/null +++ b/scripts/watch/client/sass.sh | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | concurrently \ | ||
6 | "node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css client/angular/**/ client/angular/**/**" \ | ||
7 | "node-sass -w angular/ --output angular/" | ||
diff --git a/scripts/watch/client/tsc.sh b/scripts/watch/client/tsc.sh new file mode 100755 index 000000000..f00656d2e --- /dev/null +++ b/scripts/watch/client/tsc.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | npm run tsc:w | ||