forked from ArbitrumFoundation/governance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (19 loc) · 802 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# include .env file and export its env vars
# (-include to ignore error if it does not exist)
-include .env
# deps
install :; yarn
# Build & test
build :; forge build
coverage :; forge coverage
gas :; forge test --gas-report
gas-check :; forge snapshot --check --tolerance 1
snapshot :; forge snapshot
test-unit :; forge test -vvv
clean :; forge clean
fmt :; forge fmt
gen-network :; yarn gen:network
test : test-unit
test-action-storage :; ./scripts/test-action-storage.sh
sc-election-test :; FOUNDRY_MATCH_PATH='test/security-council-mgmt/**/*.t.sol' make test
test-integration :; yarn test:integration