Add Makefile
This commit is contained in:
parent
ea7570cfde
commit
6de30011f4
2 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
bin/gh
|
||||
7
Makefile
Normal file
7
Makefile
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
BUILD_FILES = $(shell go list -f '{{range .GoFiles}}{{$$.Dir}}/{{.}}\
|
||||
{{end}}' ./...)
|
||||
|
||||
# export GOFLAGS := -mod=vendor $GOFLAGS
|
||||
|
||||
bin/gh: $(BUILD_FILES)
|
||||
go build -o "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue