File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ GOVERSION := $$(go version)
88# keep docopts: as first target for development
99
1010docopts : docopts.go Makefile
11- GOVERSION= $( GOVERSION ) goreleaser build --rm-dist --snapshot --single-target -o $@
11+ go build -o $@
1212
1313install_builddep :
1414 go mod tidy
@@ -35,5 +35,8 @@ README.md: examples/legacy_bash/rock_hello_world.sh examples/legacy_bash/rock_he
3535clean :
3636 rm -f docopts-* docopts README.tmp dist/*
3737
38- release : clean all test
38+ snapshot : install_builddep
39+ GOVERSION=$(GOVERSION ) goreleaser build --rm-dist --snapshot --single-target -o $@
40+
41+ release : clean all test snapshot
3942 GOVERSION=$(GOVERSION ) goreleaser release
Original file line number Diff line number Diff line change @@ -374,6 +374,7 @@ you have Go installed. Or find a local golang developer that you
374374trust and ask her, in exchange for a beer or two, if she could build it for you. ;)
375375
376376local build:
377+ (also done with our Makefile default target: ` make ` )
377378
378379```
379380go build docopts.go
@@ -385,7 +386,7 @@ cross compile for 32 bit:
385386env GOOS=linux GOARCH=386 go build docopts.go
386387```
387388
388- or via Makefile (note that this installs extra, development only dependencies) :
389+ or via Makefile:
389390
390391```
391392make all
You can’t perform that action at this time.
0 commit comments