forked from timhanus/buffalo-auth
-
Notifications
You must be signed in to change notification settings - Fork 0
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
54 changed files
with
431 additions
and
8,341 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 |
---|---|---|
|
@@ -26,3 +26,4 @@ generated/ | |
.vendor/ | ||
bin/* | ||
gin-bin | ||
.idea/ |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"Enable": ["vet", "golint", "goimports", "deadcode", "gotype", "ineffassign", "misspell", "nakedret", "unconvert", "megacheck", "varcheck"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
builds: | ||
- | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
env: | ||
- CGO_ENABLED=0 | ||
# main: ./main.go | ||
|
||
checksum: | ||
name_template: 'checksums.txt' | ||
|
||
snapshot: | ||
name_template: "{{ .Tag }}-next" | ||
|
||
changelog: | ||
sort: asc | ||
filters: | ||
exclude: | ||
- '^docs:' | ||
- '^test:' | ||
<%= if (brew) { %> | ||
brew: | ||
github: | ||
owner: markbates | ||
name: homebrew-tap | ||
<% } %> |
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,6 +1,26 @@ | ||
sudo: required | ||
language: go | ||
|
||
services: | ||
- docker | ||
script: | ||
- docker build . | ||
sudo: false | ||
|
||
matrix: | ||
include: | ||
- go: "1.9.x" | ||
- go: "1.10.x" | ||
- go: "1.11.x" | ||
env: | ||
- GO111MODULE=off | ||
- go: "1.11.x" | ||
env: | ||
- GO111MODULE=on | ||
- go: "tip" | ||
env: | ||
- GO111MODULE=off | ||
- go: "tip" | ||
env: | ||
- GO111MODULE=on | ||
allow_failures: | ||
- go: "tip" | ||
|
||
install: make deps | ||
|
||
script: make ci-test |
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 |
---|---|---|
@@ -0,0 +1,46 @@ | ||
TAGS ?= "sqlite" | ||
GO_BIN ?= go | ||
|
||
install: | ||
packr | ||
$(GO_BIN) install -v ./. | ||
|
||
deps: | ||
$(GO_BIN) get github.com/gobuffalo/release | ||
$(GO_BIN) get github.com/gobuffalo/packr/packr | ||
$(GO_BIN) get -tags ${TAGS} -t ./... | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
|
||
build: | ||
packr | ||
$(GO_BIN) build -v . | ||
|
||
test: | ||
packr | ||
$(GO_BIN) test -tags ${TAGS} ./... | ||
|
||
ci-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
|
||
lint: | ||
gometalinter --vendor ./... --deadline=1m --skip=internal | ||
|
||
update: | ||
$(GO_BIN) get -u -tags ${TAGS} | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
packr | ||
make test | ||
make install | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
|
||
release-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
|
||
release: | ||
release -y -f version.go |
Large diffs are not rendered by default.
Oops, something went wrong.
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,16 +1,12 @@ | ||
module github.com/gobuffalo/buffalo-auth | ||
|
||
require ( | ||
github.com/gobuffalo/buffalo v0.12.6 | ||
github.com/gobuffalo/buffalo-plugins v0.0.0-20180924041210-6ea00eeaef92 | ||
github.com/gobuffalo/genny v0.0.0-20180928214617-9033ae798a5a | ||
github.com/gobuffalo/buffalo v0.13.0-rc.1.0.20181001193643-c5177460e647 | ||
github.com/gobuffalo/buffalo-plugins v0.0.0-20180928194818-6ca7684eb375 | ||
github.com/gobuffalo/genny v0.0.0-20181002164640-2ee494b3a911 | ||
github.com/gobuffalo/packr v1.13.7 | ||
github.com/gobuffalo/plush v3.7.16+incompatible | ||
github.com/pkg/errors v0.8.0 | ||
github.com/sirupsen/logrus v1.1.0 | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/stretchr/testify v1.2.2 | ||
golang.org/x/crypto v0.0.0-20180927165925-5295e8364332 // indirect | ||
golang.org/x/sys v0.0.0-20180928133829-e4b3c5e90611 // indirect | ||
golang.org/x/tools v0.0.0-20180928181343-b3c0be4c978b // indirect | ||
golang.org/x/tools v0.0.0-20181002045332-008d18139cb7 // indirect | ||
) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.