Skip to content

Commit

Permalink
Add make target to create local forkdiff output
Browse files Browse the repository at this point in the history
When changing fork.yaml, it is useful to check the updated output
without relying on CI.
  • Loading branch information
karlb committed Sep 25, 2023
1 parent 916f4c1 commit 4c88cc0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ devtools:
env GOBIN= go install ./cmd/abigen
@type "solc" 2> /dev/null || echo 'Please install solc'
@type "protoc" 2> /dev/null || echo 'Please install protoc'

forkdiff:
docker run \
--mount src=$(shell pwd),target=/host-pwd,type=bind \
protolambda/forkdiff:latest \
-repo /host-pwd/ -fork /host-pwd/fork.yaml -out /host-pwd/forkdiff.html

0 comments on commit 4c88cc0

Please sign in to comment.