-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix link * and fix build * more fixes * Only generate tests in CI * fix build * move around targets in makefile
- Loading branch information
1 parent
4dbee3a
commit b019c9e
Showing
7 changed files
with
39 additions
and
31 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
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 @@ | ||
gen-validator-tests | ||
validator/tests/* | ||
validator/benches/* |
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 @@ | ||
regenerate: | ||
(cd validator && make regenerate) | ||
build: | ||
go build ./... | ||
|
||
nuke: | ||
(cd validator && make nuke) | ||
|
||
regenerate-tests: | ||
(cd validator && make regenerate-tests) | ||
|
||
build: | ||
(cd validator && go build ./...) | ||
regenerate-all: | ||
(cd validator && make regenerate) |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//go:build tools | ||
// +build tools | ||
|
||
// tools is a dummy package that will be ignored for builds, but included for dependencies | ||
package tools | ||
|
||
import ( | ||
_ "github.com/gogo/protobuf/protoc-gen-gogo" | ||
) |
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,19 +1,19 @@ | ||
regenerate: | ||
regenerate-tests: | ||
make nuke-tests | ||
(cd gen-validator-tests && make regenerate && go install .) | ||
gen-validator-tests -seed 12345 | ||
|
||
regenerate-all: | ||
make nuke | ||
(cd gen-validator-tests && make regenerate && go install .) | ||
gen-validator-tests -seed 12345 -benches . | ||
|
||
regenerate-tests: | ||
nuke: | ||
make nuke-tests | ||
(cd gen-validator-tests && make regenerate && go install .) | ||
gen-validator-tests | ||
make nuke-benches | ||
|
||
nuke-tests: | ||
rm -rf ./tests/ || true | ||
|
||
nuke-benches: | ||
rm -rf ./benches/ || true | ||
|
||
nuke: | ||
make nuke-tests | ||
make nuke-benches |
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