-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated local test script and fixtures for cockroach based on v21.1
- Loading branch information
Showing
36 changed files
with
1,005 additions
and
629 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,58 +1,23 @@ | ||
TAGS ?= "sqlite" | ||
GO_BIN ?= "go" | ||
TAGS ?= sqlite | ||
GO_BIN ?= go | ||
|
||
install: | ||
$(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 -tags ${TAGS} -t ./... | ||
make tidy | ||
|
||
build: | ||
$(GO_BIN) build -v . | ||
make tidy | ||
|
||
test: | ||
./test.sh | ||
make tidy | ||
|
||
ci-deps: | ||
$(GO_BIN) get -tags ${TAGS} -t ./... | ||
|
||
ci-test: | ||
$(GO_BIN) test -tags ${TAGS} -race ./... | ||
./test.sh -cover -v | ||
|
||
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/fizz | ||
$(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
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,5 +1,11 @@ | ||
CREATE TABLE schema_migration ( | ||
-- # 1 column | ||
-- # row 1 | ||
-- ## 269 | ||
CREATE TABLE public.schema_migration ( | ||
version VARCHAR(14) NOT NULL, | ||
rowid INT8 NOT VISIBLE NOT NULL DEFAULT unique_rowid(), | ||
CONSTRAINT "primary" PRIMARY KEY (rowid ASC), | ||
UNIQUE INDEX schema_migration_version_idx (version ASC), | ||
FAMILY "primary" (version, rowid) | ||
); | ||
-- # 1 row |
Oops, something went wrong.