Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Commit

Permalink
Merge pull request #231 from mattes/cli-updates
Browse files Browse the repository at this point in the history
build cli with all source and database drivers
  • Loading branch information
mattes authored May 18, 2017
2 parents 1b48b97 + 0d9689a commit 035c077
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SOURCE ?= file go-bindata github
DATABASE ?= postgres mysql
SOURCE ?= file go-bindata github aws-s3 google-cloud-storage
DATABASE ?= postgres mysql redshift
VERSION ?= $(shell git describe --tags 2>/dev/null | cut -c 2-)
TEST_FLAGS ?=
REPO_OWNER ?= $(shell cd .. && basename "$$(pwd)")
Expand Down Expand Up @@ -59,6 +59,8 @@ html-coverage:
deps:
-go get -v -u ./...
-go test -v -i ./...
# TODO: why is this not being fetched with the command above?
-go get -u github.com/fsouza/fake-gcs-server/fakestorage


list-external-deps:
Expand Down
7 changes: 7 additions & 0 deletions cli/build_aws-s3.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// +build aws-s3

package main

import (
_ "github.com/mattes/migrate/source/aws-s3"
)
7 changes: 7 additions & 0 deletions cli/build_google-cloud-storage.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// +build google-cloud-storage

package main

import (
_ "github.com/mattes/migrate/source/google-cloud-storage"
)
7 changes: 7 additions & 0 deletions cli/build_ql.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// +build ql

package main

import (
_ "github.com/mattes/migrate/database/ql"
)

0 comments on commit 035c077

Please sign in to comment.