diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..eee254837 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +bin/gh diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..93cfc0436 --- /dev/null +++ b/Makefile @@ -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 "$@"