Grunt command reference as you can find in grunt help
Compile GBC
$ grunt [--customization=NONE|<customizationId>|ALL] \
[--compile-mode=dev|cdev|prod] [--build-dist=<build-dist>] [--create-zip]
Compiles GBC
Options are:
--customization
: supersedes the value set in filecustom.json
. Can take the following values:NONE
: explicitly build GBC without customization indist/web
(unless--build-dist
is defined)<customizationId>
: explicitly build the given GBC customization indist/<customizationId>
(unless--build-dist
is defined)ALL
: build GBC without customization and each customization incustomization
folder in their default build output folders (--build-dist
has no effect)
--compile-mode
: is defined, compiles in specified modedev
: every file is provided separatelycdev
(default): files are packedprod
: files are packed and minified
--build-dist
: custom target build dir, relative todist/
folder--create-zip
: creates a runtime zip inarchive/
folder
$ grunt doc
opens this technical documentation locally
$ grunt clean
erases the .cache/, dist/, archive/ folders
$ grunt cleanall
erases the .cache/, dist/, archive/, node_modules/ folders
$ grunt dev [--customization=<customizationId>]
compiles GBC (possibly with given customization) and live watches for source changes
$ grunt help
displays this present help