diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,2 @@ server: - go build -o mobius-hotline-server cmd/mobius-hotline-server/main.go - -client: - go build -o mobius-hotline-client cmd/mobius-hotline-client/main.go
\ No newline at end of file + go build -ldflags "-X main.version=$$(git describe --exact-match --tags || echo "dev" ) -X main.commit=$$(git rev-parse --short HEAD)" -o mobius-hotline-server cmd/mobius-hotline-server/main.go |