aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/help.sh
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-04-30 11:17:50 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-04-30 12:56:36 +0200
commit9353449515ff6881a54ce6887297b7eab2855186 (patch)
treed3a6a3e84b3684e3689c4b40ed2e1d53b26a3dc8 /scripts/help.sh
parent1342381694456da6bfcb01a6f9e23c54cc90c82e (diff)
downloadPeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.gz
PeerTube-9353449515ff6881a54ce6887297b7eab2855186.tar.zst
PeerTube-9353449515ff6881a54ce6887297b7eab2855186.zip
Use scripty instead of writing shell commands in package.json
Diffstat (limited to 'scripts/help.sh')
-rwxr-xr-xscripts/help.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/help.sh b/scripts/help.sh
new file mode 100755
index 000000000..3ed9f15cc
--- /dev/null
+++ b/scripts/help.sh
@@ -0,0 +1,24 @@
1#!/usr/bin/env sh
2
3printf "############# PeerTube help #############\n\n"
4printf "npm run ...\n"
5printf " build -> Build the application\n"
6printf " build:client -> Build the client (css, js files)\n"
7printf " build:client:sass -> Build the sass files\n"
8printf " build:client:tsc -> Build the javascript files\n"
9printf " clean -> Clean the application\n"
10printf " clean:client -> Clean the client (css, js files)\n"
11printf " clean:client:sass -> Clean the sass build files\n"
12printf " clean:client:tsc -> Clean the javascript files\n"
13printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n"
14printf " watch:client -> Watch the client files\n"
15printf " watch:client:sass -> Watch the sass client files\n"
16printf " watch:client:tsc -> Watch the typescript files\n"
17printf " danger:clean:server -> /!\ Clean certificates, logs, uploads and database\n"
18printf " danger:clean:modules -> /!\ Clean node and typescript modules\n"
19printf " play -> Run 3 fresh nodes so that you can test the communication between them\n"
20printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
21printf " livereload -> Run the livereload on the client\n"
22printf " start -> Run the server\n"
23printf " test -> Run the tests\n"
24printf " help -> Print this help\n"