aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/build
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-10 22:57:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-10 22:57:31 +0200
commit75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42 (patch)
treeec2f38883fd53e7e2e2d451b9275ca984631c6c1 /scripts/build
parent69818c9394366b954b6ba3bd697bd9d2b09f2a16 (diff)
downloadPeerTube-75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42.tar.gz
PeerTube-75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42.tar.zst
PeerTube-75fb0c0b2efe7fb952d45d2bf111e9594f7d5b42.zip
Adapt scripts to typescript
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/client/dev.sh7
-rwxr-xr-xscripts/build/server/prod.sh5
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
3cd client || exit -1
4
5rm -rf ./compiled
6
7npm 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
3rm -rf ./dist
4
5npm run tsc