jsonnet-bundler/cmd/jb
sh0rez 80c06a483a
feat(cli): --version using ldflags
The go-modules approach is a bit broken: https://github.com/golang/go/issues/29228
To resolve that, we now compute that version using `git describe` and
set it using `ldflags`.

While this is not as nice/builtin as the other approach, it at least
works all the time and across go versions.

Furthermore, I did refactor the Makefile in preparation for an AUR
package that builds from source and for building release artifacts in CI.
2020-02-28 19:40:37 +01:00
..
init.go feat(spec): version field (#85) 2020-02-28 17:41:49 +01:00
init_test.go Add license headers 2019-07-23 13:36:28 -07:00
install.go feat(spec): version field (#85) 2020-02-28 17:41:49 +01:00
install_test.go feat(spec): version field (#85) 2020-02-28 17:41:49 +01:00
main.go feat(cli): --version using ldflags 2020-02-28 19:40:37 +01:00
main_test.go feat(spec): version field (#85) 2020-02-28 17:41:49 +01:00
rewrite.go feat: absolute imports (#63) 2020-01-24 08:02:34 +01:00
update.go feat(spec): version field (#85) 2020-02-28 17:41:49 +01:00