diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-10 22:57:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-10 22:57:31 +0200 |
commit | 75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42 (patch) | |
tree | ec2f38883fd53e7e2e2d451b9275ca984631c6c1 /scripts/build | |
parent | 69818c9394366b954b6ba3bd697bd9d2b09f2a16 (diff) | |
download | PeerTube-75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42.tar.gz PeerTube-75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42.tar.zst PeerTube-75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42.zip |
Adapt scripts to typescript
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build/client/dev.sh | 7 | ||||
-rwxr-xr-x | scripts/build/server/prod.sh | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/scripts/build/client/dev.sh b/scripts/build/client/dev.sh deleted file mode 100755 index 1fd0ad416..000000000 --- a/scripts/build/client/dev.sh +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | cd client || exit -1 | ||
4 | |||
5 | rm -rf ./compiled | ||
6 | |||
7 | npm run webpack -- --config config/webpack.dev.js --progress --profile --colors --display-error-details --display-cached | ||
diff --git a/scripts/build/server/prod.sh b/scripts/build/server/prod.sh new file mode 100755 index 000000000..811da2154 --- /dev/null +++ b/scripts/build/server/prod.sh | |||
@@ -0,0 +1,5 @@ | |||
1 | #!/usr/bin/env sh | ||
2 | |||
3 | rm -rf ./dist | ||
4 | |||
5 | npm run tsc | ||