You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2022/11/01 23:01:29 UTC
[skywalking-infra-e2e] branch main updated: Add .exe suffix to windows build artifact (#87)
This is an automated email from the ASF dual-hosted git repository.
kezhenxu94 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-infra-e2e.git
The following commit(s) were added to refs/heads/main by this push:
new 24156ff Add .exe suffix to windows build artifact (#87)
24156ff is described below
commit 24156ff0190dab7cf7298d17c2185f9858a7f23b
Author: Superskyyy <Su...@outlook.com>
AuthorDate: Tue Nov 1 19:01:24 2022 -0400
Add .exe suffix to windows build artifact (#87)
---
Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index c7550cc..99507e3 100644
--- a/Makefile
+++ b/Makefile
@@ -52,10 +52,12 @@ test: clean
$(GO_TEST) ./... -coverprofile=coverage.txt -covermode=atomic
@>&2 echo "Great, all tests passed."
+windows: PROJECT_SUFFIX=.exe
+
.PHONY: $(PLATFORMS)
$(PLATFORMS):
mkdir -p $(OUT_DIR)
- GOOS=$(os) GOARCH=$(GOARCH) $(GO_BUILD) $(GO_BUILD_FLAGS) -ldflags "$(GO_BUILD_LDFLAGS)" -o $(OUT_DIR)/$(os)/$(PROJECT) cmd/e2e/main.go
+ GOOS=$(os) GOARCH=$(GOARCH) $(GO_BUILD) $(GO_BUILD_FLAGS) -ldflags "$(GO_BUILD_LDFLAGS)" -o $(OUT_DIR)/$(os)/$(PROJECT)$(PROJECT_SUFFIX) cmd/e2e/main.go
.PHONY: build
build: windows linux darwin