Add cross compilation scripts

This commit is contained in:
Adrian Macneil 2015-12-01 17:36:23 -08:00
parent d4b34dd49f
commit d318e68423
5 changed files with 85 additions and 34 deletions

View file

@ -1,8 +1,8 @@
DOCKER := docker-compose run dbmate
all: build lint test
all: container lint test build
build:
container:
docker-compose build
lint:
@ -12,3 +12,6 @@ lint:
test:
$(DOCKER) go test -v
build:
docker-compose run dbmate ./build.sh