Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Latest commit

 

History

History
44 lines (27 loc) · 1.76 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.76 KB

mojito-cli-build Build Status

This package provides the build command for the mojito-cli tool, to create static snapshots of Mojito applications for HTML5 app publishing. Install mojito-cli and mojito-cli-build with the following: npm install -g mojito-cli

Usage

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

Or:

$ 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"

Discussion/Forums

http://developer.yahoo.com/forum/Yahoo-Mojito

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.