Command line tool to duplicate/modify version number strings across source code and distribution files according to syntax context.

⌈⌋ ⎇ branch:  version numbers get/write


Check-in [d56b82dd48]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add wordpress and document 'any' type.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d56b82dd48d2de712c8a1b3a186c2a2a57463515
User & Date: mario 2014-02-08 03:57:55
Context
2014-02-08
23:24
Moved data/regex into cfg{} check-in: 789c1a3df8 user: mario tags: trunk
03:57
Add wordpress and document 'any' type. check-in: d56b82dd48 user: mario tags: trunk
03:57
Make quotes optional for 'ini', add '.list' extension, move is_valid_ver into rx::, allow optional dashes on --last command, more comments. check-in: a26eca426c user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to 1.1.

154
155
156
157
158
159
160

161
162
163
164
165
166
167



168
169
docblock	Documentation	* @version 1.0.0
const	Constant declarations	const VERSION = '1.0.0';
var	Scripting language syntax	$Xyz_version = "1.0.0";
define	PHP constant defines	define("XYZ_VERSION", '1.0.0');
ini	Configuration files	version = "1.0.0"
python	Module numbers	__version__ = "1.0.0"
composer	JSON	{ "version": "1.0.0",

xmltag	Single XML tag	<version>1.0.0</version>
_raw_	\fBmatch anything\fR	T{
This matches virtually anywhere, as it just applies the common
version number syntax regex, but does not take any syntax context into account.
T}
.TE




.SH "SEE ALSO"
.BR "http://semver.org/#" (2.0.0) 







>







>
>
>


154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
docblock	Documentation	* @version 1.0.0
const	Constant declarations	const VERSION = '1.0.0';
var	Scripting language syntax	$Xyz_version = "1.0.0";
define	PHP constant defines	define("XYZ_VERSION", '1.0.0');
ini	Configuration files	version = "1.0.0"
python	Module numbers	__version__ = "1.0.0"
composer	JSON	{ "version": "1.0.0",
wordpress	Wordpress plugin meta	Version: 1.0.0
xmltag	Single XML tag	<version>1.0.0</version>
_raw_	\fBmatch anything\fR	T{
This matches virtually anywhere, as it just applies the common
version number syntax regex, but does not take any syntax context into account.
T}
.TE

.PP
.RI "The moniker " any " includes all known regex formats but " _raw_ ", of course."

.SH "SEE ALSO"
.BR "http://semver.org/#" (2.0.0)