aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-17 15:33:58 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 10:14:24 +0100
commitc026a2e67357bd4bd4fcc4c10f8c5cd4749435c9 (patch)
tree692d4f1b3b3dd68fc79cec4e3b5d1b93c72d037e /scripts/build
parent478924a044f6a7b0fb5156c3e4a0e8ef4ed30a4a (diff)
downloadPeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.tar.gz
PeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.tar.zst
PeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.zip
Remove watch scripts
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client.sh2
-rwxr-xr-xscripts/build/embed.sh5
-rwxr-xr-xscripts/build/index.sh7
3 files changed, 13 insertions, 1 deletions
diff --git a/scripts/build/client.sh b/scripts/build/client.sh
index 2518702cf..fd9190660 100755
--- a/scripts/build/client.sh
+++ b/scripts/build/client.sh
@@ -62,7 +62,7 @@ if [ -z ${1+x} ] || [ "$1" != "--light" ]; then
62 done 62 done
63fi 63fi
64 64
65NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json" 65npm run build:embed
66 66
67# Copy runtime locales 67# Copy runtime locales
68cp -r "./src/locale" "./dist/locale" 68cp -r "./src/locale" "./dist/locale"
diff --git a/scripts/build/embed.sh b/scripts/build/embed.sh
new file mode 100755
index 000000000..ea5e7d57d
--- /dev/null
+++ b/scripts/build/embed.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3set -eu
4
5NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json"
diff --git a/scripts/build/index.sh b/scripts/build/index.sh
new file mode 100755
index 000000000..fde6efe32
--- /dev/null
+++ b/scripts/build/index.sh
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3set -eu
4
5npm run concurrently -- -k \
6 "npm run build:client" \
7 "npm run build:server"