-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (19 loc) · 720 Bytes
/
Makefile
File metadata and controls
23 lines (19 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# deps
update:; forge update
build :; forge build
size :; forge build --sizes
# storage inspection
inspect :; forge inspect ${contract} storage-layout --pretty
# Get the list of function selectors
selectors :; forge inspect ${contract} methods --pretty
# local tests without fork
test :; forge test -vv
trace :; forge test -vvv
gas :; forge test --gas-report
test-contract :; forge test -vv --match-contract $(contract)
test-contract-gas :; forge test --gas-report --match-contract ${contract}
trace-contract :; forge test -vvv --match-contract $(contract)
test-test :; forge test -vv --match-test $(test)
trace-test :; forge test -vvv --match-test $(test)
clean :; forge clean
snapshot :; forge snapshot