-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes issues with v3 and reduces dependencies
- Loading branch information
Showing
31 changed files
with
193 additions
and
275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ generated/ | |
bin/* | ||
gin-bin | ||
.idea/ | ||
cover.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,8 @@ | ||
TAGS ?= "sqlite" | ||
GO_BIN ?= go | ||
|
||
install: | ||
packr | ||
$(GO_BIN) install -tags ${TAGS} -v . | ||
make tidy | ||
|
||
tidy: | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
else | ||
echo skipping go mod tidy | ||
endif | ||
|
||
deps: | ||
$(GO_BIN) get github.com/gobuffalo/release | ||
$(GO_BIN) get github.com/gobuffalo/packr/packr | ||
$(GO_BIN) get -tags ${TAGS} -t ./... | ||
make tidy | ||
|
||
build: | ||
packr | ||
$(GO_BIN) build -v . | ||
make tidy | ||
|
||
test: | ||
packr | ||
$(GO_BIN) test -tags ${TAGS} ./... | ||
make tidy | ||
|
||
ci-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
make tidy | ||
|
||
lint: | ||
gometalinter --vendor ./... --deadline=1m --skip=internal | ||
make tidy | ||
|
||
update: | ||
$(GO_BIN) get -u -tags ${TAGS} | ||
make tidy | ||
packr | ||
make test | ||
make install | ||
make tidy | ||
|
||
release-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
make tidy | ||
go test -failfast -short -cover ./... | ||
go mod tidy -v | ||
|
||
release: | ||
make tidy | ||
release -y -f version.go | ||
make tidy | ||
cov: | ||
go test -short -coverprofile cover.out ./... | ||
go tool cover -html cover.out | ||
go mod tidy -v |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.