ci: added basic Makefile
This commit is contained in:
parent
a68cc534b5
commit
4b8f584411
3 changed files with 15 additions and 1 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
tags
|
||||
Pominal
|
||||
bin/*
|
||||
!bin/.gitkeep
|
||||
|
|
13
Makefile
Normal file
13
Makefile
Normal 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
0
bin/.gitkeep
Normal file
Loading…
Reference in a new issue