Build system reference - BlueOakJS/generator-blueoak GitHub Wiki
-
gulp build-spa [-d <env>] [--release | --debug]Builds the SPA. -
gulp serve-spa [-d <env>] [--release | --debug]Builds the SPA, watches the source for changes, and starts a web server. -
gulp build-android [-d <env>] [--release | --debug]Builds the Android app. -
gulp build-android-nowww [-d <env>] [--release | --debug]Builds the Android app without first building the web assets. -
gulp serve-android [-d <env>] [--release | --debug] [--device]Builds the Android app, watches the source for changes, and starts a web server. -
gulp build-ios [-d <env>] [--release | --debug] [--profile <UUID>]Builds the iOS app. -
gulp build-ios-nowww [-d <env>] [--release | --debug] [--profile <UUID>]Builds the iOS app without first building the web assets. -
gulp serve-ios [-d <env>] [--release | --debug] [--profile <UUID>] [--device]Builds the iOS app, watches the source for changes, and starts a web server. -
gulp cleanDeletes contents of the dist/ directory. -
gulp create-config [-d <env>]Writes the app.config.js file into the dist/ directory based on the environment selected with the -d switch and the contents of the app.config.json file. -
gulp list-provisioning-profilesLists the provisioning profiles installed on the logged in user's account (Mac only).
-
-d <env>Uses the environment specified to select the configuration for the app. If not specified, the default environment is “local”. -
--debugBuilds for development. Overrides the build type specified in the config file. -
--releaseBuilds for production. Web assets are concatenated and minified. App builds are signed for production deployment. Overrides the build type specified in the config file. -
--noshellFor use with serve-android or serve-ios. Skips rebuilding the shell Cordova/MFP app. Starts browsersync, rebuilds the SPA, and reloads attached browsers. The user is responsible for launching the shell app on the device or emulator. Note that if the IP address of your development system has changed since the last time you built and deployed the shell app, it will not be able to connect and must be rebuilt. -
--profile <name>|<UUID>Allows specifying the iOS provisioning profile by name or UUID. Note: MFP builds require the name to be specified, and don't allow specifying the UUID. -
--deviceRun the Android / iOS app on the attached device. If not specified, will run the app on the emulator. -
--storepassPassword for the Android release build's keystore. -
--keypassPassword for the Android release build's key. -
--pushpassPassword for the iOS push notification certificate (used only in the MFP environment).
More information on the gulp tasks in the User Guide.
-
KEYSTORE_PASSWORDPassword for the Android release build's keystore. -
KEY_PASSWORDPassword for the Android release build's key. -
PUSH_PASSWORDPassword for the iOS push notification certificate (used only in the MFP environment).