diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:34:39 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-06-03 22:34:39 +0200 |
commit | fc76359be11956f8514fc0dda1f66bb1c3397d26 (patch) | |
tree | 4d80142778971f1d9e09606e8f8745d56cee8507 /scripts/clean | |
parent | 4a6995be18b15de1834a39c8921a0e4109671bb6 (diff) | |
download | PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.gz PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.zst PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.zip |
Adapt npm scripts
Diffstat (limited to 'scripts/clean')
-rwxr-xr-x | scripts/clean/client/dist.sh | 4 | ||||
-rwxr-xr-x | scripts/clean/client/sass.sh | 5 | ||||
-rwxr-xr-x | scripts/clean/client/tsc.sh | 6 |
3 files changed, 4 insertions, 11 deletions
diff --git a/scripts/clean/client/dist.sh b/scripts/clean/client/dist.sh new file mode 100755 index 000000000..2cbbf90dc --- /dev/null +++ b/scripts/clean/client/dist.sh | |||
@@ -0,0 +1,4 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | rm -rf dist/ | ||
diff --git a/scripts/clean/client/sass.sh b/scripts/clean/client/sass.sh deleted file mode 100755 index 04d239ffc..000000000 --- a/scripts/clean/client/sass.sh +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | rm -f stylesheets/index.css | ||
5 | find app -regextype posix-egrep -regex ".*\.(css)$" -exec rm -f {} \; | ||
diff --git a/scripts/clean/client/tsc.sh b/scripts/clean/client/tsc.sh deleted file mode 100755 index b17888640..000000000 --- a/scripts/clean/client/tsc.sh +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | find app -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \; | ||
5 | rm -rf ./bundles | ||
6 | rm -f main.js main.js.map | ||