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

build cli with all source and database drivers #231

Merged
merged 5 commits into from
May 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
)