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

Shazron Abdullah edited comment on CB-8640 at 3/17/15 12:18 AM:
----------------------------------------------------------------

Added directives as comments:
/* coho:token-type,insertion-type */

{code}
/* coho:next-version,insert-before */
/* coho:next-version-min-required,replace-after */
{code}

next-version is of the format:
{code}
#define __CORDOVA_M_N_P MMNNP
{code}

next-version-min-required is of the format:
{code}
#define CORDOVA_VERSION_MIN_REQUIRED __CORDOVA_M_N_P
{code}

Where M is the major version, N is the minor version, and P is the patch 
version.

insertion-type can be [ insert-before, replace-after ].
insert-before means insert the token line before the directive.
replace-after means replace the line after the directive, with the token





was (Author: shazron):
Added directives as comments:
/* coho:token-type,insertion-type */

{code}
/* coho:next-version,insert-before */
/* coho:next-version-min-required,replace-after */
{code}

next-version is of the format:
#define __CORDOVA_M_N_P MMNNP

next-version-min-required is of the format:
#define CORDOVA_VERSION_MIN_REQUIRED __CORDOVA_M_N_P

Where M is the major version, N is the minor version, and P is the patch 
version.

insertion-type can be [ insert-before, replace-after ].
insert-before means insert the token line before the directive.
replace-after means replace the line after the directive, with the token




> Template-ize CDVAvailability.h for coho release tool
> ----------------------------------------------------
>
>                 Key: CB-8640
>                 URL: https://issues.apache.org/jira/browse/CB-8640
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Coho, iOS
>            Reporter: Shazron Abdullah
>             Fix For: 4.0.0
>
>
> This is so the release tool can automatically update the version.
> Add comments here for the template:
> 1. 
> https://github.com/apache/cordova-ios/blob/b3c26fcd598da7c84f020f5a6b9309fe638cbb5d/CordovaLib/Classes/CDVAvailability.h#L58
> 2. 
> https://github.com/apache/cordova-ios/blob/b3c26fcd598da7c84f020f5a6b9309fe638cbb5d/CordovaLib/Classes/CDVAvailability.h#L68



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to