Skip to content

Commit

Permalink
Add prune config to Gopkg.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Aikens committed Jul 26, 2018
1 parent 88cf353 commit db2830a
Show file tree
Hide file tree
Showing 2,248 changed files with 44 additions and 876,617 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@ jobs:
command: |
go get github.com/jstemmer/go-junit-report
go get github.com/magefile/mage
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
- run:
name: Test
command: |
mage check
- run:
name: Build Binary
command: mage build
- persist_to_workspace:
root: .
paths: .
Expand Down
99 changes: 13 additions & 86 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 4 additions & 21 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"

required = [
"github.com/magefile/mage/mage",
"github.com/goreleaser/goreleaser"
]

[prune]
go-tests = true
unused-packages = true

[[constraint]]
name = "github.com/spf13/cobra"
version = "0.0.1"
Expand Down
Loading

0 comments on commit db2830a

Please sign in to comment.