This package provides the
build command for the
mojito-cli tool, to create
static snapshots of Mojito applications for HTML5 app publishing.
mojito-cli-build with the following:
npm install -g mojito-cli
From the top of your Mojito application directory and with
mojito installed locally, run the following:
$ mojito build html5app
By default, the static files will be saved in
artifacts/builds/html5app/. You can also specify another destination
with the following:
$ mojito build html5app ../myhtml5app
$ mojito build html5app --directory ../myhtml5app
ALternatively, you can specify your own default in
application.json using the configuration
builds.html5app.buildDir. See the build configuration object.
To specify a context:
$ mojito build html5app --context "key1:value1,key2:value2,key3:value3"
Licensing and Contributions
mojito-cli-build is licensed under a BSD license (see LICENSE.txt). To contribute to the Mojito project, please see Contributing.
The Mojito project is a meritocratic, consensus-based community project, which allows anyone to contribute and gain additional responsibilities.