File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ GOVERSION := $$(go version)
8
8
# keep docopts: as first target for development
9
9
10
10
docopts : docopts.go Makefile
11
- GOVERSION= $( GOVERSION ) goreleaser build --rm-dist --snapshot --single-target -o $@
11
+ go build -o $@
12
12
13
13
install_builddep :
14
14
go mod tidy
@@ -35,5 +35,8 @@ README.md: examples/legacy_bash/rock_hello_world.sh examples/legacy_bash/rock_he
35
35
clean :
36
36
rm -f docopts-* docopts README.tmp dist/*
37
37
38
- release : clean all test
38
+ snapshot : install_builddep
39
+ GOVERSION=$(GOVERSION ) goreleaser build --rm-dist --snapshot --single-target -o docopts
40
+
41
+ release : clean all test snapshot
39
42
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
374
374
trust and ask her, in exchange for a beer or two, if she could build it for you. ;)
375
375
376
376
local build:
377
+ (also done with our Makefile default target: ` make ` )
377
378
378
379
```
379
380
go build docopts.go
@@ -385,7 +386,7 @@ cross compile for 32 bit:
385
386
env GOOS=linux GOARCH=386 go build docopts.go
386
387
```
387
388
388
- or via Makefile (note that this installs extra, development only dependencies) :
389
+ or via Makefile:
389
390
390
391
```
391
392
make all
You can’t perform that action at this time.
0 commit comments