File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,12 @@ tasks:
5454 - task : generate-mocks
5555 - task : check-clean-branch
5656
57+ check-generate-rlp :
58+ desc : Checks that generated rlp files are up-to-date (requires a clean git working tree)
59+ cmds :
60+ - task : generate-rlp
61+ - task : check-clean-branch
62+
5763 check-go-mod-tidy :
5864 desc : Checks that go.mod and go.sum are up-to-date (requires a clean git working tree)
5965 cmds :
@@ -76,6 +82,12 @@ tasks:
7682 - cmd : grep -lr -E '^// Code generated by MockGen\. DO NOT EDIT\.$' . | xargs -r rm
7783 - cmd : go generate -run "go.uber.org/mock/mockgen" ./...
7884
85+ generate-rlp :
86+ desc : Generates rlp files
87+ cmds :
88+ - cmd : grep -lr -E '^// Code generated by rlpgen\. DO NOT EDIT.\.$' . | xargs -r rm
89+ - cmd : go generate -run "github.com/ava-labs/libevm/rlp/rlpgen" ./...
90+
7991 lint :
8092 desc : Run golangci-lint and check for allowed Ethereum imports in Go code
8193 cmd : ./scripts/lint.sh
@@ -88,6 +100,7 @@ tasks:
88100 - shellcheck
89101 - check-generate-codec
90102 - check-generate-mocks
103+ - check-generate-rlp
91104
92105 lint-all-ci :
93106 desc : Runs all lint checks one-by-one
@@ -97,6 +110,7 @@ tasks:
97110 - task : shellcheck
98111 - task : check-generate-codec
99112 - task : check-generate-mocks
113+ - task : check-generate-rlp
100114
101115 shellcheck :
102116 desc : Run shellcheck static analysis on all shell scripts with version management
You can’t perform that action at this time.
0 commit comments