make my life easier
This commit is contained in:
parent
32a0cf0861
commit
6cb9370b05
1 changed files with 11 additions and 0 deletions
11
Makefile
Normal file
11
Makefile
Normal file
|
@ -0,0 +1,11 @@
|
|||
.PHONY: build cross image
|
||||
|
||||
build:
|
||||
go build
|
||||
|
||||
cross:
|
||||
gox -osarch="darwin/amd64 linux/amd64 linux/arm"
|
||||
|
||||
image:
|
||||
docker run --rm -v $(shell pwd):/src -v /var/run/docker.sock:/var/run/docker.sock centurylink/golang-builder
|
||||
docker tag dockviz nate/dockviz
|
Loading…
Reference in a new issue