1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

feat: update to go modules

This commit is contained in:
retgits
2019-04-26 16:39:44 -07:00
parent 66a16af97d
commit e03b65b442
1471 changed files with 207 additions and 466677 deletions

View File

@@ -16,6 +16,10 @@ ifndef $(GOPATH)
endif
endif
# Set go modules to on and use GoCenter for immutable modules
GO111MODULE=on
GOPROXY=https://gocenter.io
build:
go build -o bin/wtf
@@ -35,7 +39,7 @@ run: build
bin/wtf
size:
loc --exclude vendor/ _sample_configs/ _site/ docs/ Makefile *.md *.toml
loc --exclude _sample_configs/ _site/ docs/ Makefile *.md
test: build
go test ./...