Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,12 @@ tasks:
- task: generate-mocks
- task: check-clean-branch

check-generate-rlp:
desc: Checks that generated rlp files are up-to-date (requires a clean git working tree)
cmds:
- task: generate-rlp
- task: check-clean-branch

check-go-mod-tidy:
desc: Checks that go.mod and go.sum are up-to-date (requires a clean git working tree)
cmds:
Expand All @@ -76,6 +82,12 @@ tasks:
- cmd: grep -lr -E '^// Code generated by MockGen\. DO NOT EDIT\.$' . | xargs -r rm
- cmd: go generate -run "go.uber.org/mock/mockgen" ./...

generate-rlp:
desc: Generates rlp files
cmds:
- cmd: grep -lr -E '^// Code generated by rlpgen\. DO NOT EDIT.\.$' . | xargs -r rm
- cmd: go generate -run "github.com/ava-labs/libevm/rlp/rlpgen" ./...

lint:
desc: Run golangci-lint and check for allowed Ethereum imports in Go code
cmd: ./scripts/lint.sh
Expand All @@ -88,6 +100,7 @@ tasks:
- shellcheck
- check-generate-codec
- check-generate-mocks
- check-generate-rlp

lint-all-ci:
desc: Runs all lint checks one-by-one
Expand All @@ -97,6 +110,7 @@ tasks:
- task: shellcheck
- task: check-generate-codec
- task: check-generate-mocks
- task: check-generate-rlp

shellcheck:
desc: Run shellcheck static analysis on all shell scripts with version management
Expand Down
7 changes: 2 additions & 5 deletions plugin/evm/customtypes/gen_header_serializable_rlp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading