-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
46 additions
and
95 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 |
---|---|---|
@@ -1,61 +1,18 @@ | ||
TAGS ?= "" | ||
GO_BIN ?= "go" | ||
|
||
install: | ||
$(GO_BIN) install -tags ${TAGS} -v . | ||
make tidy | ||
GO_BIN ?= go | ||
|
||
tidy: | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
else | ||
echo skipping go mod tidy | ||
endif | ||
|
||
deps: | ||
$(GO_BIN) get -tags ${TAGS} -t ./... | ||
make tidy | ||
|
||
build: | ||
$(GO_BIN) build -v . | ||
make tidy | ||
|
||
test: | ||
$(GO_BIN) test -cover -tags ${TAGS} ./... | ||
make tidy | ||
|
||
ci-deps: | ||
$(GO_BIN) get -tags ${TAGS} -t ./... | ||
|
||
ci-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
$(GO_BIN) test -cover -race -tags ${TAGS} ./... | ||
|
||
lint: | ||
go get github.com/golangci/golangci-lint/cmd/golangci-lint | ||
golangci-lint run --enable-all | ||
make tidy | ||
|
||
update: | ||
ifeq ($(GO111MODULE),on) | ||
rm go.* | ||
$(GO_BIN) mod init | ||
$(GO_BIN) mod tidy | ||
else | ||
$(GO_BIN) get -u -tags ${TAGS} | ||
endif | ||
make test | ||
make install | ||
make tidy | ||
|
||
release-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
make tidy | ||
|
||
release: | ||
$(GO_BIN) get github.com/gobuffalo/release | ||
make tidy | ||
release -y -f version.go --skip-packr | ||
make tidy | ||
|
||
|
||
$(GO_BIN) mod init github.com/gobuffalo/helpers | ||
$(GO_BIN) mod tidy -go=1.16 | ||
|
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,42 +1,33 @@ | ||
# github.com/gobuffalo/helpers Stands on the Shoulders of Giants | ||
# Helpers Stands on the Shoulders of Giants | ||
|
||
github.com/gobuffalo/helpers does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work. | ||
Helpers does not try to reinvent the wheel! Instead, it uses the already great wheels developed by the Go community and puts them all together in the best way possible. Without these giants, this project would not be possible. Please make sure to check them out and thank them for all of their hard work. | ||
|
||
Thank you to the following **GIANTS**: | ||
|
||
|
||
* [github.com/aymerick/douceur](https://godoc.org/github.com/aymerick/douceur) | ||
* [github.com/davecgh/go-spew](https://godoc.org/github.com/davecgh/go-spew) | ||
* [github.com/fatih/structs](https://godoc.org/github.com/fatih/structs) | ||
|
||
* [github.com/gobuffalo/envy](https://godoc.org/github.com/gobuffalo/envy) | ||
|
||
* [github.com/gobuffalo/flect](https://godoc.org/github.com/gobuffalo/flect) | ||
|
||
* [github.com/gobuffalo/github_flavored_markdown](https://godoc.org/github.com/gobuffalo/github_flavored_markdown) | ||
|
||
* [github.com/gobuffalo/tags](https://godoc.org/github.com/gobuffalo/tags) | ||
|
||
* [github.com/gobuffalo/uuid](https://godoc.org/github.com/gobuffalo/uuid) | ||
|
||
* [github.com/gobuffalo/validate](https://godoc.org/github.com/gobuffalo/validate) | ||
|
||
* [github.com/gobuffalo/tags/v3](https://godoc.org/github.com/gobuffalo/tags/v3) | ||
* [github.com/gobuffalo/validate/v3](https://godoc.org/github.com/gobuffalo/validate/v3) | ||
* [github.com/gofrs/uuid](https://godoc.org/github.com/gofrs/uuid) | ||
|
||
* [github.com/golang/protobuf](https://godoc.org/github.com/golang/protobuf) | ||
|
||
* [github.com/onsi/ginkgo](https://godoc.org/github.com/onsi/ginkgo) | ||
|
||
* [github.com/onsi/gomega](https://godoc.org/github.com/onsi/gomega) | ||
|
||
* [github.com/pkg/errors](https://godoc.org/github.com/pkg/errors) | ||
|
||
* [github.com/rogpeppe/go-internal](https://godoc.org/github.com/rogpeppe/go-internal) | ||
|
||
* [github.com/serenize/snaker](https://godoc.org/github.com/serenize/snaker) | ||
|
||
* [github.com/gorilla/css](https://godoc.org/github.com/gorilla/css) | ||
* [github.com/kr/pretty](https://godoc.org/github.com/kr/pretty) | ||
* [github.com/kr/pty](https://godoc.org/github.com/kr/pty) | ||
* [github.com/kr/text](https://godoc.org/github.com/kr/text) | ||
* [github.com/microcosm-cc/bluemonday](https://godoc.org/github.com/microcosm-cc/bluemonday) | ||
* [github.com/pmezard/go-difflib](https://godoc.org/github.com/pmezard/go-difflib) | ||
* [github.com/sergi/go-diff](https://godoc.org/github.com/sergi/go-diff) | ||
* [github.com/sourcegraph/annotate](https://godoc.org/github.com/sourcegraph/annotate) | ||
* [github.com/sourcegraph/syntaxhighlight](https://godoc.org/github.com/sourcegraph/syntaxhighlight) | ||
* [github.com/stretchr/objx](https://godoc.org/github.com/stretchr/objx) | ||
* [github.com/stretchr/testify](https://godoc.org/github.com/stretchr/testify) | ||
|
||
* [golang.org/x/net](https://godoc.org/golang.org/x/net) | ||
|
||
* [golang.org/x/sys](https://godoc.org/golang.org/x/sys) | ||
|
||
* [golang.org/x/term](https://godoc.org/golang.org/x/term) | ||
* [golang.org/x/text](https://godoc.org/golang.org/x/text) | ||
* [golang.org/x/tools](https://godoc.org/golang.org/x/tools) | ||
* [gopkg.in/check.v1](https://godoc.org/gopkg.in/check.v1) | ||
* [gopkg.in/yaml.v2](https://godoc.org/gopkg.in/yaml.v2) | ||
* [gopkg.in/yaml.v3](https://godoc.org/gopkg.in/yaml.v3) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package helpers | ||
|
||
// Version of helpers | ||
const Version = "v0.4.0" | ||
const Version = "v0.6.6" |