Setup basic development environment: make, git hooks & CI

This commit is contained in:
Niklas Fasching 2018-12-02 14:10:32 +01:00
parent 0b2972e32a
commit 00aa120bf4
3 changed files with 18 additions and 0 deletions

14
Makefile Normal file
View 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