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

Commit

Permalink
migrate to go module (#50)
Browse files Browse the repository at this point in the history
* migrate to go module

* tidy

* do not force

* try packages

* extract into a method
  • Loading branch information
honnix authored and EngHabu committed Dec 6, 2019
1 parent f921467 commit 1d00a51
Show file tree
Hide file tree
Showing 10 changed files with 423 additions and 853 deletions.
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

0 comments on commit 1d00a51

Please sign in to comment.