Release v0.3.0

This commit is contained in:
Manu Herrera
2020-11-09 10:05:29 -03:00
parent 4e9aa7a3c5
commit 8107c4478b
1265 changed files with 440488 additions and 107809 deletions

60
vendor/gopkg.in/gormigrate.v1/Taskfile.yml generated vendored Normal file
View File

@@ -0,0 +1,60 @@
# https://taskfile.org
version: '2'
tasks:
dl-deps:
desc: Downloads cli dependencies
cmds:
- go get -u golang.org/x/lint/golint
go-get-all:
cmds:
- go get -t -tags 'sqlite postgresql mysql sqlserver' ./...
lint:
desc: Runs golint on this project
cmds:
- golint .
test-sqlite:
desc: Run tests for SQLite
cmds:
- task: test
vars: {DATABASE: sqlite}
test-pg:
desc: Run tests for PostgreSQL
cmds:
- task: test
vars: {DATABASE: postgresql}
test-mysql:
desc: Run tests for MySQL
cmds:
- task: test
vars: {DATABASE: mysql}
test-sqlserver:
desc: Run tests for Microsoft SQL Server
cmds:
- task: test
vars: {DATABASE: sqlserver}
test:
cmds:
- go test -v -tags {{.DATABASE}}
docker:
cmds:
- task: docker:build
- task: docker:test
docker:build:
cmds:
- docker build -t gormigrate .
docker:test:
cmds:
- docker-compose down -v
- docker-compose run gormigrate go test -v -tags 'postgresql sqlite mysql sqlserver'