mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Add cross compilation scripts
This commit is contained in:
parent
d4b34dd49f
commit
d318e68423
5 changed files with 85 additions and 34 deletions
7
Makefile
7
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue