Skip to content

Commit

Permalink
fix: version and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sirkon committed Aug 6, 2020
1 parent d3471ec commit 8a0a323
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false
language: go
go:
- 1.12.x
- 1.14.x

install:
- go get -v -d -t github.com/sirkon/ldetool
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,5 @@ test:
which ldetool
go test -test.v github.com/sirkon/ldetool/testing


version:
git tag --list | tail -1 | xargs printf 'package main\n\nconst ldetoolVersion = "%s"\n' > version.go
git commit -a --amend

grammar:
antlr4 -no-visitor -listener -o internal/parser -Dlanguage=Go LDE.g4
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func main() {
version = info.Main.Version
}

message.Info(version)
message.Info("ldetool", "version", version)
return
}
switch len(cfg.File) {
Expand Down

0 comments on commit 8a0a323

Please sign in to comment.