Skip to content
This repository has been archived by the owner. It is now read-only.
Browse files
CB-8161 Run: accept --nobuild as alias to --no-build
Cordova CLI is passing --nobuild down to platform scripts.

Previously this was a BB10 only command.
  • Loading branch information
bryanhiggins committed Dec 15, 2014
1 parent 642e727 commit c3b6779eb572ba5b69aa14d96698effe2516cac4
Showing 1 changed file with 5 additions and 0 deletions.
@@ -63,9 +63,14 @@ options

process.argv.forEach(function (argument, index, args) {
//Also accept --target <target name>
if (argument.match(/^--target=/)) {
args.splice(index, 1, "--target", argument.substr("--target=".length));
//Cordova CLI has adopted '--nobuild'; change it to --no-build
if (argument === '--nobuild') {
args[index] = '--no-build';


0 comments on commit c3b6779

Please sign in to comment.