Add `static` to class functions (php8), revert to \r\n in place of \R for older libpcre versions. | ||
---|---|---|
mario authored 1464 days ago last checkin b62946f7b ⎘ | ||
๐ 1.1 | Add wordpress and document 'any' type.โนโบ | 3922 days ago |
๐ mk | manpage and build script (for local deb/ template)โนโบ | 3923 days ago |
๐ version.php | Add `static` to class functions (php8), revert to \r\n in place of \Rโนโบ | 1464 days ago |
version numbers get/write
version numbers get / write
This is a commandline tool to update version numbers across source code files.
version -get file.c -bump -write pkg/DEBIAN/control
It understands multiple syntax contexts to constrain write operations. And the command arguments can be mixed naturally.
documentations
Just running the script displays a simple help (same as atop the code).
But there's also a manpage.
why?
It's useful for preparing a manual packaging process. It can keep version numbers in sync across source code to documentation and build scripts.
Earlier implementations of this were patched to a specific language or too generic. This consolidates the regex handling and command line interface.
There are probably other tools like that, but they're obviously not easy to google (those that are are also domain-specific and tied to particular languages).
download
See http://apt.include-once.org/ for the download repository.
project updates
Updates are announced on http://freecode.com/projects/version-numbers-readwrite