diff options
author | Chocobozzz <me@florianbigard.com> | 2019-12-17 15:33:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-12-18 10:14:24 +0100 |
commit | c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9 (patch) | |
tree | 692d4f1b3b3dd68fc79cec4e3b5d1b93c72d037e /scripts/build | |
parent | 478924a044f6a7b0fb5156c3e4a0e8ef4ed30a4a (diff) | |
download | PeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.tar.gz PeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.tar.zst PeerTube-c026a2e67357bd4bd4fcc4c10f8c5cd4749435c9.zip |
Remove watch scripts
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client.sh | 2 | ||||
-rwxr-xr-x | scripts/build/embed.sh | 5 | ||||
-rwxr-xr-x | scripts/build/index.sh | 7 |
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 |
63 | fi | 63 | fi |
64 | 64 | ||
65 | NODE_ENV=production npm run webpack -- --config webpack/webpack.video-embed.js --mode production --json > "./dist/embed-stats.json" | 65 | npm run build:embed |
66 | 66 | ||
67 | # Copy runtime locales | 67 | # Copy runtime locales |
68 | cp -r "./src/locale" "./dist/locale" | 68 | cp -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 | |||
3 | set -eu | ||
4 | |||
5 | NODE_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 | |||
3 | set -eu | ||
4 | |||
5 | npm run concurrently -- -k \ | ||
6 | "npm run build:client" \ | ||
7 | "npm run build:server" | ||