Skip to content

Commit

Permalink
Merge pull request #34 from stephengroat/go-mod
Browse files Browse the repository at this point in the history
move to go modules
  • Loading branch information
mrtazz committed Feb 21, 2020
2 parents 1f97310 + 4001fd2 commit 42f1561
Show file tree
Hide file tree
Showing 34 changed files with 342 additions and 5,768 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#

export GO15VENDOREXPERIMENT = 1
export GO111MODULE = on
export GOFLAGS = -mod=vendor

# variable definitions
NAME := checkmake
Expand Down Expand Up @@ -75,9 +77,6 @@ benchmark:
@echo "Running tests..."
@go test -bench=. ${NAME}

govendor:
go get -u github.com/kardianos/govendor

# install tasks
$(PREFIX)/bin/%: %
install -d $$(dirname $@)
Expand All @@ -100,6 +99,8 @@ deploy-packages: packages
package_cloud push mrtazz/$(NAME)/debian/wheezy *.deb
package_cloud push mrtazz/$(NAME)/ubuntu/trusty *.deb

vendor:
go mod vendor

rpm: $(SOURCES)
fpm -t rpm -s dir \
Expand Down Expand Up @@ -146,4 +147,4 @@ pizza:
@echo "https://twitter.com/mrb_bk/status/760636493710983168"
@echo ""

.PHONY: all test rpm deb install local-install packages govendor coverage clean-deps clean clean-docs pizza
.PHONY: all test rpm deb install local-install packages vendor coverage clean-deps clean clean-docs pizza
12 changes: 12 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module github.com/mrtazz/checkmake

go 1.13

require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docopt/docopt-go v0.0.0-20141128170934-854c423c8108
github.com/go-ini/ini v1.11.0
github.com/olekukonko/tablewriter v0.0.0-20150822215231-b9346ac189c5
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/stretchr/testify v1.1.4-0.20160615092844-d77da356e56a
)
12 changes: 12 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/docopt/docopt-go v0.0.0-20141128170934-854c423c8108 h1:WJse1njqIlgvQjtOPAALBLhopGR+FKKo9OjxT7Sb6s0=
github.com/docopt/docopt-go v0.0.0-20141128170934-854c423c8108/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
github.com/go-ini/ini v1.11.0 h1:EDp2zFK6TR11mvDrWDask1bXLBUgqbIqG4R6Lq3EoKI=
github.com/go-ini/ini v1.11.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
github.com/olekukonko/tablewriter v0.0.0-20150822215231-b9346ac189c5 h1:ZxRrPRTX45eVRfhXfZUgH1MG173pWRdOMFsnJoTaxwU=
github.com/olekukonko/tablewriter v0.0.0-20150822215231-b9346ac189c5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/testify v1.1.4-0.20160615092844-d77da356e56a h1:UWu0XgfW9PCuyeZYNe2eGGkDZjooQKjVQqY/+d/jYmc=
github.com/stretchr/testify v1.1.4-0.20160615092844-d77da356e56a/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
15 changes: 15 additions & 0 deletions vendor/github.com/davecgh/go-spew/LICENSE

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

194 changes: 94 additions & 100 deletions vendor/github.com/davecgh/go-spew/spew/bypass.go

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

9 changes: 5 additions & 4 deletions vendor/github.com/davecgh/go-spew/spew/bypasssafe.go

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

4 changes: 2 additions & 2 deletions vendor/github.com/davecgh/go-spew/spew/common.go

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

13 changes: 11 additions & 2 deletions vendor/github.com/davecgh/go-spew/spew/config.go

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

11 changes: 10 additions & 1 deletion vendor/github.com/davecgh/go-spew/spew/doc.go

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

0 comments on commit 42f1561

Please sign in to comment.