Skip to content

Commit 19a1e4b

Browse files
committed
Update makefile to remove old build methods
1 parent ae2ed43 commit 19a1e4b

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

Makefile

+7-13
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
VERSION := 0.2.2
2-
3-
# Note that I'd love to use goreleaser for this but they don't quite
4-
# have the hooks yet to be able to merge in gon support. Ideally they'd
5-
# just integrate natively in some way.
6-
build: clean
7-
mkdir -p dist
8-
GOOS=darwin GOARCH=amd64 go build -ldflags "-X main.version=$(VERSION)" -o ./dist/gon ./cmd/gon
9-
.PHONY: build
10-
11-
# release will package the distribution packages, sign, and notarize
12-
release: build
13-
./dist/gon .gon.hcl
1+
# release will package the distribution packages, sign, and notarize. It
2+
# will then upload the release to GitHub and publish the Homebrew tap.
3+
#
4+
# AFTER THIS YOU MUST MANUALLY DELETE the checksums.txt file since it is
5+
# incomplete and we don't need checksums since our artifacts are signed.
6+
release:
7+
goreleaser --rm-dist
148
.PHONY: release
159

1610
clean:

0 commit comments

Comments
 (0)