From 9353449515ff6881a54ce6887297b7eab2855186 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sat, 30 Apr 2016 11:17:50 +0200 Subject: Use scripty instead of writing shell commands in package.json --- scripts/help.sh | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 scripts/help.sh (limited to 'scripts/help.sh') 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 @@ +#!/usr/bin/env sh + +printf "############# PeerTube help #############\n\n" +printf "npm run ...\n" +printf " build -> Build the application\n" +printf " build:client -> Build the client (css, js files)\n" +printf " build:client:sass -> Build the sass files\n" +printf " build:client:tsc -> Build the javascript files\n" +printf " clean -> Clean the application\n" +printf " clean:client -> Clean the client (css, js files)\n" +printf " clean:client:sass -> Clean the sass build files\n" +printf " clean:client:tsc -> Clean the javascript files\n" +printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n" +printf " watch:client -> Watch the client files\n" +printf " watch:client:sass -> Watch the sass client files\n" +printf " watch:client:tsc -> Watch the typescript files\n" +printf " danger:clean:server -> /!\ Clean certificates, logs, uploads and database\n" +printf " danger:clean:modules -> /!\ Clean node and typescript modules\n" +printf " play -> Run 3 fresh nodes so that you can test the communication between them\n" +printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" +printf " livereload -> Run the livereload on the client\n" +printf " start -> Run the server\n" +printf " test -> Run the tests\n" +printf " help -> Print this help\n" -- cgit v1.2.3