goxver

command module
v0.0.0-...-d14a2ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2019 License: MIT Imports: 18 Imported by: 0

README

goxver

Generate version from git for Go projects

TODO

  • README
  • Shell Script generator
  • BAT Script generator

Documentation

Overview

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL