Separate cmd package for easier importing (#11)

This commit is contained in:
Adrian Macneil 2017-05-04 20:58:23 -07:00 committed by GitHub
parent 247d7296f8
commit e393f387b3
21 changed files with 408 additions and 368 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.8.0
FROM golang:1.8
# required to force cgo (for sqlite driver) with cross compile
ENV CGO_ENABLED 1
@ -19,6 +19,6 @@ COPY . $GOPATH/src/github.com/amacneil/dbmate
WORKDIR $GOPATH/src/github.com/amacneil/dbmate
# build
RUN go install -v
RUN go install -v ./cmd/dbmate
CMD dbmate