From 6cb9370b0568ed49af317941731b9a2f2fc76365 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Fri, 22 May 2015 09:29:49 -0700 Subject: [PATCH] make my life easier --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bca03f7 --- /dev/null +++ b/Makefile @@ -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