aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-11 09:29:33 +0200
committerChocobozzz <me@florianbigard.com>2020-06-11 09:29:33 +0200
commit50a04125dac1a126cb79a9fb575fcf673c5ac2d6 (patch)
tree2fae913f202ccb880e25b067ccb6090dbc6b0542 /scripts
parentd840487fed32b4604b02030c0d7464afa925904f (diff)
downloadPeerTube-50a04125dac1a126cb79a9fb575fcf673c5ac2d6.tar.gz
PeerTube-50a04125dac1a126cb79a9fb575fcf673c5ac2d6.tar.zst
PeerTube-50a04125dac1a126cb79a9fb575fcf673c5ac2d6.zip
Fix npm run build
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/client.sh4
-rwxr-xr-xscripts/release.sh2
2 files changed, 1 insertions, 5 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 31b55dbf5..a86404c6f 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -148,10 +148,6 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
148 done 148 done
149fi 149fi
150 150
151if [ "$1" != "--analyze" ]; then
152 rm "./dist/en-US/stats-es2015.json"
153fi
154
155cd ../ && npm run build:embed && cd client/ 151cd ../ && npm run build:embed && cd client/
156 152
157# Copy runtime locales 153# Copy runtime locales
diff --git a/scripts/release.sh b/scripts/release.sh
index cc0a586e9..665f690bb 100755
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -66,7 +66,7 @@ git commit package.json client/package.json ./support/doc/api/openapi.yaml -m "B
66git tag -s -a "$version" -m "$version" 66git tag -s -a "$version" -m "$version"
67 67
68npm run build 68npm run build
69rm -f "./client/dist/en_US/stats.json" 69rm -f "./client/dist/en-US/stats.json"
70rm -f "./client/dist/embed-stats.json" 70rm -f "./client/dist/embed-stats.json"
71 71
72# Creating the archives 72# Creating the archives