ci: added basic Makefile

This commit is contained in:
Dan Anglin 2019-06-29 22:11:25 +01:00
parent a68cc534b5
commit 4b8f584411
No known key found for this signature in database
GPG key ID: 7AFF718EEFC9767C
3 changed files with 15 additions and 1 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
tags
Pominal
bin/*
!bin/.gitkeep

13
Makefile Normal file
View file

@ -0,0 +1,13 @@
.PHONY: all test build clean
all: test build
test:
go test -v -cover ./...
build:
go build -a -v -o bin/pominal
clean:
go clean
find bin -type f -not -iname .gitkeep | xargs -I v rm v

0
bin/.gitkeep Normal file
View file