Skip to content

Commit

Permalink
WIP: Mod (flipt-io#71)
Browse files Browse the repository at this point in the history
Switch to use Go modules
  • Loading branch information
markphelps committed May 20, 2019
1 parent 3ebeeb7 commit 60e2744
Show file tree
Hide file tree
Showing 2,519 changed files with 307 additions and 1,584,531 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

.github/
.vagrant/
app/
bazel-*/
bin/
build/
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ node_modules
site
tmp

flipt
app
# ignore autogenerated swagger.json in favor of hand edited version for now
flipt.swagger.json
10 changes: 9 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
env:
- GO111MODULE=on

before:
hooks:
- make clean
- make generate
- go mod download

builds:
- main: ./cmd/flipt/main.go
Expand All @@ -11,6 +14,7 @@ builds:
- linux
goarch:
- amd64

archive:
replacements:
amd64: x86_64
Expand All @@ -20,12 +24,16 @@ archive:
- CHANGELOG.md
- ./config/migrations/*
- ./config/default.yml

checksum:
name_template: 'checksums.txt'

snapshot:
name_template: "{{ .Tag }}-snapshot"

changelog:
skip: true

dockers:
- binaries:
- flipt
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go:
go_import_path: github.com/markphelps/flipt

env:
- GO111MODULE=off
- GO111MODULE=on

services:
- docker
Expand Down
Loading

0 comments on commit 60e2744

Please sign in to comment.