X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/6988a0571d5d37ea0f38ee3e4066533158f608bc..7c005672a40eb92110e32b37f41f59c027fa8598:/Makefile diff --git a/Makefile b/Makefile index fb14198..54a8631 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,2 @@ -build-client: - go build -o mobius-hotline-client client/main.go - -build-server: - go build -o mobius-hotline-server server/main.go +server: + 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