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
3 changed files
with
151 additions
and
79 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,47 +1,55 @@ | ||
TAGS ?= "sqlite" | ||
GO_BIN ?= go | ||
|
||
install: | ||
install: deps | ||
packr | ||
$(GO_BIN) install -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 ./... | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
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 ./... | ||
docker build . | ||
make tidy | ||
|
||
lint: | ||
gometalinter --vendor ./... --deadline=1m --skip=internal | ||
|
||
update: | ||
$(GO_BIN) get -u -tags ${TAGS} | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
make tidy | ||
packr | ||
make test | ||
make install | ||
ifeq ($(GO111MODULE),on) | ||
$(GO_BIN) mod tidy | ||
endif | ||
make tidy | ||
|
||
release-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
make tidy | ||
|
||
release: | ||
make tidy | ||
release -y -f version.go | ||
make tidy |
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,11 +1,11 @@ | ||
module github.com/gobuffalo/buffalo-auth | ||
|
||
require ( | ||
github.com/gobuffalo/buffalo v0.12.6 | ||
github.com/gobuffalo/buffalo-plugins v1.0.3 | ||
github.com/gobuffalo/genny v0.0.0-20181003150629-3786a0744c5d | ||
github.com/gobuffalo/buffalo v0.13.1 | ||
github.com/gobuffalo/buffalo-plugins v1.6.2 | ||
github.com/gobuffalo/genny v0.0.0-20181021155603-b4153d7282f8 | ||
github.com/gobuffalo/packr v1.13.7 | ||
github.com/gobuffalo/plush v3.7.16+incompatible | ||
github.com/gobuffalo/plush v3.7.21+incompatible | ||
github.com/pkg/errors v0.8.0 | ||
github.com/spf13/cobra v0.0.3 | ||
) |
Oops, something went wrong.