aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean/client
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 22:34:39 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 22:34:39 +0200
commitfc76359be11956f8514fc0dda1f66bb1c3397d26 (patch)
tree4d80142778971f1d9e09606e8f8745d56cee8507 /scripts/clean/client
parent4a6995be18b15de1834a39c8921a0e4109671bb6 (diff)
downloadPeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.gz
PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.tar.zst
PeerTube-fc76359be11956f8514fc0dda1f66bb1c3397d26.zip
Adapt npm scripts
Diffstat (limited to 'scripts/clean/client')
-rwxr-xr-xscripts/clean/client/dist.sh4
-rwxr-xr-xscripts/clean/client/sass.sh5
-rwxr-xr-xscripts/clean/client/tsc.sh6
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
3cd client || exit -1
4rm -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
3cd client || exit -1
4rm -f stylesheets/index.css
5find 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
3cd client || exit -1
4find app -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \;
5rm -rf ./bundles
6rm -f main.js main.js.map