gen-package-version v0.9.2
Nick Sabalausky via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sun Jun 14 13:31:04 PDT 2015
A couple fixes in v0.9.2:
https://github.com/Abscissa/gen-package-version/blob/master/CHANGELOG.md
- Fixed: helper/gen_version.sh isn't set as executable when checked out
through dub, preventing successful build on Posix.
- Fixed: The old recommeded "preGenerateCommands" led to problems
(project dependencies that use gen-package-version would run it from the
wrong directory).
So...this is the correction on what you should include in your dub.json
(if using gen-package-version through dub):
-----------------------------------------------------
"dependencies": {
"gen-package-version": "~>0.9.2"
},
"preGenerateCommands":
["cd $PACKAGE_DIR && dub run gen-package-version -- your.package.name
--src=path/to/src"]
-----------------------------------------------------
More information about the Digitalmars-d-announce
mailing list