Closed ransford closed 5 years ago
Ensures there's always a version string, even when building with go get instead of the Makefile. Before this, we had:
go get
$ go get github.com/virtalabs/tapirx $ tapirx -version Tapirx
(I just confirmed this against the master branch on a Raspberry Pi.)
Now we have whatever's in version.go.
version.go
$ go get github.com/virtalabs/tapirx $ tapirx -version Tapirx 1.0.0
Ooops, yeah, this LGTM. Sorry.
Ensures there's always a version string, even when building with
go get
instead of the Makefile. Before this, we had:(I just confirmed this against the master branch on a Raspberry Pi.)
Now we have whatever's in
version.go
.