diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 11:17:50 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-04-30 12:56:36 +0200 |
commit | 9353449515ff6881a54ce6887297b7eab2855186 (patch) | |
tree | d3a6a3e84b3684e3689c4b40ed2e1d53b26a3dc8 /scripts/help.sh | |
parent | 1342381694456da6bfcb01a6f9e23c54cc90c82e (diff) | |
download | PeerTube-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-x | scripts/help.sh | 24 |
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 | |||
3 | printf "############# PeerTube help #############\n\n" | ||
4 | printf "npm run ...\n" | ||
5 | printf " build -> Build the application\n" | ||
6 | printf " build:client -> Build the client (css, js files)\n" | ||
7 | printf " build:client:sass -> Build the sass files\n" | ||
8 | printf " build:client:tsc -> Build the javascript files\n" | ||
9 | printf " clean -> Clean the application\n" | ||
10 | printf " clean:client -> Clean the client (css, js files)\n" | ||
11 | printf " clean:client:sass -> Clean the sass build files\n" | ||
12 | printf " clean:client:tsc -> Clean the javascript files\n" | ||
13 | printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n" | ||
14 | printf " watch:client -> Watch the client files\n" | ||
15 | printf " watch:client:sass -> Watch the sass client files\n" | ||
16 | printf " watch:client:tsc -> Watch the typescript files\n" | ||
17 | printf " danger:clean:server -> /!\ Clean certificates, logs, uploads and database\n" | ||
18 | printf " danger:clean:modules -> /!\ Clean node and typescript modules\n" | ||
19 | printf " play -> Run 3 fresh nodes so that you can test the communication between them\n" | ||
20 | printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" | ||
21 | printf " livereload -> Run the livereload on the client\n" | ||
22 | printf " start -> Run the server\n" | ||
23 | printf " test -> Run the tests\n" | ||
24 | printf " help -> Print this help\n" | ||