Skip to content

Commit

Permalink
fix:修改默认模板
Browse files Browse the repository at this point in the history
  • Loading branch information
zwtesttt committed May 20, 2024
1 parent 7a5ca16 commit 50ebc6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Go 编译器
GO := go

# 项目名称
Expand All @@ -25,7 +24,7 @@ LDFLAGS := -ldflags "-s -w -X main.version=$(VERSION)"
# 构建目标
.PHONY: build
build:
@$(GO) build $(LDFLAGS) -o $(BUILD_DIR)/$(APP_NAME)-$(VERSION)$(EXT)
@$(GO) build $(LDFLAGS) -o $(BUILD_DIR)/$(APP_NAME)-$(GOOS)-$(GOARCH)-$(VERSION)$(EXT)

# 打包目标
.PHONY: package
Expand Down

0 comments on commit 50ebc6a

Please sign in to comment.