mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Adapt npm scripts
This commit is contained in:
4
scripts/clean/client/dist.sh
Executable file
4
scripts/clean/client/dist.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cd client || exit -1
|
||||
rm -rf dist/
|
||||
@@ -1,5 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cd client || exit -1
|
||||
rm -f stylesheets/index.css
|
||||
find app -regextype posix-egrep -regex ".*\.(css)$" -exec rm -f {} \;
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
cd client || exit -1
|
||||
find app -regextype posix-egrep -regex ".*\.(js|map)$" -exec rm -f {} \;
|
||||
rm -rf ./bundles
|
||||
rm -f main.js main.js.map
|
||||
Reference in New Issue
Block a user