diff --git a/Makefile b/Makefile index cfff146..f4f869e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ DOCKER := docker-compose run dbmate -all: container lint test build +all: clean container lint test build + +clean: + rm -rf dist container: docker-compose build diff --git a/build.sh b/build.sh index 6929b28..cb52cad 100755 --- a/build.sh +++ b/build.sh @@ -6,8 +6,6 @@ set -ex BUILD_FLAGS="-ldflags -s" -rm -rf dist - GOOS=linux GOARCH=386 go build $BUILD_FLAGS \ -o dist/dbmate-linux-i386 GOOS=linux GOARCH=amd64 go build $BUILD_FLAGS \