Skip to content

Commit

Permalink
chore: change makefile to generate executable process to bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
YenchangChan authored and yuzhichang committed Dec 10, 2023
1 parent 9f9cd3b commit d4f8137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ nacos_cache
*.p12
dist
vendor
bin/

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ pre:

.PHONY: build
build: pre
$(GOBUILD) -ldflags '$(SINKER_LDFLAGS)' -o . ./...
$(GOBUILD) -ldflags '$(SINKER_LDFLAGS)' -o bin/ ./...

.PHONY: debug
debug: pre
$(GOBUILD) -ldflags '$(SINKER_LDFLAGS)' -gcflags "all=-N -l" -o . ./...
$(GOBUILD) -ldflags '$(SINKER_LDFLAGS)' -gcflags "all=-N -l" -o bin/ ./...

.PHONY: benchtest
benchtest: pre
Expand Down

0 comments on commit d4f8137

Please sign in to comment.