You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/05/24 23:17:20 UTC

[jira] [Commented] (CB-2927) Add a ./cordova/build project-level script

    [ https://issues.apache.org/jira/browse/CB-2927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13666685#comment-13666685 ] 

ASF subversion and git services commented on CB-2927:
-----------------------------------------------------

Commit 1e2f28cba401642cf75091bebce7212cd74ba016 in branch refs/heads/master from [~ericleili]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-blackberry.git;h=1e2f28c ]

[CB-2927] [CB-2939] Update build and run scripts to more closely match cordova spec

- run now invokes build rather than the reverse
- changes to argument syntax
- moved the debug token feature from "build" script to "run" script
- added a validation feature for debug token so it won't be created all the time
- added --no-build and --keystorepass for "run" script
- added a default build.id in config.xml
- cleaned up output messages
- removed "keystorepass" from the default project.json

Reviewed by Bryan Higgins <bh...@blackberry.com>
Tested by Tracy Li <tl...@blackberry.com>

                
> Add a ./cordova/build project-level script
> ------------------------------------------
>
>                 Key: CB-2927
>                 URL: https://issues.apache.org/jira/browse/CB-2927
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Filip Maj
>            Assignee: Filip Maj
>             Fix For: 2.8.0
>
>
> {code}
> build [--debug] [--release]
> {code}
> Builds the application and compiles to the platform's appropriate binary format. 
> By default builds a debug release:
> {code}
> build --debug
> {code}
> Supports building a release (possibly signed) build using:
> {code}
> build --release
> {code}
> Implicitly calls {{./cordova/clean}} (see CB-2915) first.
> If both {{release}} and {{debug}} parameters are specified, error out with exit code 2 and an appropriate error message.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira