Skip to content

Commit

Permalink
Validate new build options
Browse files Browse the repository at this point in the history
  • Loading branch information
zodern committed Feb 8, 2017
1 parent 97922aa commit 50217d0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,15 @@ module.exports = {
debug: true,
cleanAfterBuild: true, // default
buildLocation: '/my/build/folder', // defaults to /tmp/<uuid>

//set serverOnly: false if want to build mobile apps
mobileSettings: false, // get mobileSettings from settings.json file in app root (--mobile-settings settings.json)
server: 'http://app.com', // your app url for mobile app access (--server http://app.com)
allowIncompatibleUpdates: true, //adds --allow-incompatible-updates key to build command

//set serverOnly: false if want to build mobile apps when deploying

// Remove this property for mobileSettings to use your settings.json. (optional)
mobileSettings: {
yourMobileSetting: "setting value"
},
server: 'http://app.com', // your app url for mobile app access (optional)
allowIncompatibleUpdates: true, //adds --allow-incompatible-updates arg to build command (optional)
},
env: {
ROOT_URL: 'http://app.com', // set to https to force redirect from http
Expand Down
2 changes: 2 additions & 0 deletions src/validate/meteor.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const schema = joi.object().keys({
debug: joi.bool(),
cleanAfterBuild: joi.bool(),
mobileSettings: joi.object(),
server: joi.string().uri(),
allowIncompatibleUpdates: joi.boolean(),
executable: joi.string()
}),
env: joi.object().keys({
Expand Down

0 comments on commit 50217d0

Please sign in to comment.