command
module
Version:
v0.0.0-...-d14a2ab
Opens a new window with list of versions in this module.
Published: Sep 21, 2019
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
goxver
Generate version from git for Go projects
TODO
- README
- Shell Script generator
- BAT Script generator
Documentation
¶
goxver is the tool for generating LDFLAGS argument with version information populated.
The tool works only with git repositories.
Usage:
go build -ldflags `goxver` main.go
Original idea and implementation by Andrew "workanator" Bashkatov.
Licensed under MIT license.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.