forked from makerdao/rwa-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
26 lines (20 loc) · 846 Bytes
/
Makefile
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
# include .env file and export its env vars
# (-include to ignore error if it does not exist)-include .env
-include .env
# install solc version
# example to install other versions: `make solc 0_8_14`
SOLC_VERSION := 0_8_14
clean:; forge clean
update:; forge update
# Build & test
build:; forge build
test:; forge test --no-match-path "**.integration.t.sol" -vvv # --ffi # enable if you need the `ffi` cheat code on HEVM
test-integration:; forge test --match-path "**.integration.t.sol" --fork-url ${FORK_URL} -vvv
flatten:; forge flatten --source-file ${file}
# Constructor args must come last
deploy:; @scripts/forge-deploy.sh ${args}
# Differently than deploy, this requires abi-encoded constructor arguments
verify:; @scripts/forge-verify.sh ${args}
send:; @scripts/cast-send.sh ${args}
nodejs-deps:; yarn install
lint:; yarn run lint