-
Notifications
You must be signed in to change notification settings - Fork 14
/
sl-build.txt
27 lines (21 loc) · 1.01 KB
/
sl-build.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
usage: %MAIN% [options]
Build a node application package.
With no options, the default depends on whether a git repository is
detected or not.
If a git repository is detected the default is `--git`: install and commit the
build results to the "deploy" branch, which will be created if it does not
already exist.
If no git repository is detected the default is `--npm`: install and
pack the build results into a `<package-name>-<version>.tgz` file.
Options:
-h,--help Print this message and exit.
-v,--version Print version and exit.
-n,--npm Same as `--install --pack`.
-g,--git Same as `--install --commit`.
-i,--install Install dependencies (without scripts, by default).
-s,--scripts If installing, run scripts (to build addons).
-p,--pack Pack into a publishable archive.
Git specific options:
-c,--commit Commit build output (branch specified by --onto).
--onto BRANCH Branch to commit build results to, created if
necessary ("deploy", by default).