git clone
somewhere to $GOPATH/src/github.com/golang-migrate/migrate
GO111MODULE
environment variable are set correctly)golangci-lint run
make test-short
make test
to run all tests against all database versionsSome more helpful commands:
make test-short SOURCE='file go_bindata' DATABASE='postgres cassandra'
make test
, run make html-coverage
which opens a shiny test coverage overview.make build-cli
builds the CLI in directory cli/build/
.make list-external-deps
lists all external dependencies for each packagemake docs && make open-docs
opens godoc in your browser, make kill-docs
kills the godoc server. Repeatedly call make docs
to refresh the server.DOCKER_API_VERSION
environment variable to the latest supported version if you get errors regarding the docker client API version being too new.