Setup basic development environment: make, git hooks & CI
This commit is contained in:
parent
0b2972e32a
commit
00aa120bf4
3 changed files with 18 additions and 0 deletions
14
Makefile
Normal file
14
Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
.PHONY: default
|
||||
default: test
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test ./... -v
|
||||
|
||||
.PHONY: build
|
||||
build:
|
||||
go build cmd/org/*
|
||||
|
||||
.PHONY: setup
|
||||
setup:
|
||||
git config core.hooksPath etc/githooks
|
Loading…
Add table
Add a link
Reference in a new issue