Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

migrate to go module #50

Merged
merged 5 commits into from
Dec 6, 2019
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ anaconda-mode/
*.so
*.dylib
vendor/
bin/

# Test binary, build with 'go test -c'
*.test
Expand Down
3 changes: 1 addition & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
before:
hooks:
- dep ensure -vendor-only
- go mod download
builds:
- env:
- CGO_ENABLED=0
- GO111MODULE=off
main: ./cli/pflags/main.go
binary: pflags
goos:
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
deploy:
- provider: script
skip_cleanup: true
script: curl -sL https://git.io/goreleaser | GO111MODULE=off bash
script: curl -sL https://git.io/goreleaser | bash
on:
tags: true
condition: "$TRAVIS_OS_NAME = linux"
Expand Down
Loading