make my life easier

This commit is contained in:
Nate Jones 2015-05-22 09:29:49 -07:00
parent 32a0cf0861
commit 6cb9370b05

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