diff --git a/Makefile b/Makefile index a7dc7ed..e06b518 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ dist: cleanup_dist $(PLATFORMS) $(PLATFORMS): $(eval GOOS := $(firstword $(subst -, ,$@))) $(eval GOARCH := $(lastword $(subst -, ,$@))) + go generate env GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $(DIST_DIR)/$(APPNAME).$(RELEASE).$@ md5: dist