-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (23 loc) · 759 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (23 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# include .env file and export its env vars
# (-include to ignore error if it does not exist)
-include .env
install: update npm
# Forge dependencies
update:; forge update
# Node dependencies for linting
npm:; npm install
# Forge tasks
clean:; forge clean
build:; forge build --extra-output abi
test:; forge test --fork-url $(ETH_RPC_URL) --etherscan-api-key $(ETHERSCAN_API_KEY)
trace:; forge test -vvvvv --fork-url $(ETH_RPC_URL) --etherscan-api-key $(ETHERSCAN_API_KEY)
snapshot:; forge snapshot
# Hardhat tasks
hh-clean:; npm run hh:clean
hh-build:; npm run hh:build
# Node tasks
lint:; npm run lint
lint-fix:; npm run lint:fix
scripts-admin:; npm run scripts:admin
scripts-interfaces:; npm run scripts:interfaces
scripts-poke:; npm run scripts:poke