Skip to content

Commit

Permalink
added timezone database to basic build command in Makefile (#513)
Browse files Browse the repository at this point in the history
armstrmi authored Dec 16, 2021

Verified

This commit was signed with the committer’s verified signature.
1 parent 9023222 commit e7754ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@ GOFLAGS=-mod=mod

GIT_SHA=$(shell git rev-parse --short HEAD)
GIT_COMMIT=$(shell git rev-parse HEAD)
TAGS=-tags timetzdata

PROJECT_ROOT = $(shell pwd)
ARTIFACTS = ${PROJECT_ROOT}/artifacts
@@ -103,7 +104,8 @@ build:
CGO_ENABLED=0 \
go build \
-ldflags "-X github.com/observiq/stanza/version.GitTag=${GIT_TAG} -X github.com/observiq/stanza/version.GitCommit=${GIT_COMMIT}" \
-o ../../artifacts/stanza_$(GOOS)_$(GOARCH) .)
-o ../../artifacts/stanza_$(GOOS)_$(GOARCH) \
$(TAGS) .)

.PHONY: install
install:

0 comments on commit e7754ef

Please sign in to comment.