-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 527 Bytes
/
Makefile
File metadata and controls
28 lines (20 loc) · 527 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# This makefile is currently just for convenience in my own local development,
# you probably don't want to be using it otherwise.
NAME=bump
bin/$(NAME): *.go go.mod go.sum bin
go build -o $@
bin:
mkdir -p bin
snapshot:
goreleaser release --clean --snapshot
package:
# never want to actually publish from local, thats what CI is for
goreleaser release --clean --skip=publish
clean:
rm -rf bin
rm -rf dist
install:
go install
uninstall:
rm ${GOPATH}/bin/$(NAME)
.PHONY: snapshot package clean install uninstall