Skip to content

Commit

Permalink
update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Apr 12, 2021
1 parent 40adc22 commit d80fcdc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,15 @@ build-ci:
$(foreach os, linux darwin windows, \
@-$(MAKE) -s go-build-task os=$(os) goarchset="386 amd64" \
)
@-$(MAKE) -s go-build-task os="darwin" goarchset="arm64"
@echo " < All Done."
@ls -la $(LS_OPT) $(GOBIN)/*

go-build-task: directories
## build-m1: run build-ci task. just for CI tools
build-m1:
@-$(MAKE) -s go-build-task os="darwin" goarchset="arm64"

go-build-task: directories go-generate
@echo " > Building $(os)/$(goarchset) binary..."
@#echo " > LDFLAGS = $(LDFLAGS)"
# unsupported GOOS/GOARCH pair nacl/386 ??
Expand Down

0 comments on commit d80fcdc

Please sign in to comment.