Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Provide the `build` command for the mojito-cli tool, to create static snapshots of mojito applications for HTML5 app publishing.
JavaScript
branch: develop

This branch is 3 commits behind isao:develop

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
tests
.gitignore
.jshintrc
.travis.yml
LICENSE.txt
README.md
build.js
package.json

README.md

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.

Something went wrong with that request. Please try again.