Skip to content

Commit

Permalink
Add clean step
Browse files Browse the repository at this point in the history
  • Loading branch information
amacneil committed Dec 2, 2015
1 parent d5fb983 commit 158ecaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 0 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 158ecaa

Please sign in to comment.