Loading Makefile +4 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ CHECKSUM_ARTIFACTS := \ RELEASE_CHECKSUMS := $(addsuffix .checksum.txt,$(CHECKSUM_ARTIFACTS)) RELEASE_UPLOAD_FILES := $(RELEASE_ARTIFACTS) $(RELEASE_CHECKSUMS) .PHONY: build test installer-macos installer-windows installer-deb release-checksums release-upload clean help .PHONY: build test format installer-macos installer-windows installer-deb release-checksums release-upload clean help build: ## Build cross-platform binaries into dist (linux/amd64, darwin/arm64, windows/amd64) mkdir -p $(DIST_DIR) Loading @@ -43,6 +43,9 @@ test: ## Run Go tests (including main_test.go explicitly) go test -mod=vendor ./... go test -mod=vendor main.go i18n.go main_test.go format: ## Format Go sources gofmt -w *.go installer-macos: ## Build an unsigned macOS pkg installer (.pkg) for arm64 using pkgbuild mkdir -p $(DIST_DIR) CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build $(GO_FLAGS) -o $(MACOS_EXE) . Loading Loading
Makefile +4 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ CHECKSUM_ARTIFACTS := \ RELEASE_CHECKSUMS := $(addsuffix .checksum.txt,$(CHECKSUM_ARTIFACTS)) RELEASE_UPLOAD_FILES := $(RELEASE_ARTIFACTS) $(RELEASE_CHECKSUMS) .PHONY: build test installer-macos installer-windows installer-deb release-checksums release-upload clean help .PHONY: build test format installer-macos installer-windows installer-deb release-checksums release-upload clean help build: ## Build cross-platform binaries into dist (linux/amd64, darwin/arm64, windows/amd64) mkdir -p $(DIST_DIR) Loading @@ -43,6 +43,9 @@ test: ## Run Go tests (including main_test.go explicitly) go test -mod=vendor ./... go test -mod=vendor main.go i18n.go main_test.go format: ## Format Go sources gofmt -w *.go installer-macos: ## Build an unsigned macOS pkg installer (.pkg) for arm64 using pkgbuild mkdir -p $(DIST_DIR) CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build $(GO_FLAGS) -o $(MACOS_EXE) . Loading