generated from wormhole-foundation/wormhole-scaffolding
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (23 loc) · 801 Bytes
/
Makefile
File metadata and controls
35 lines (23 loc) · 801 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
30
31
32
33
34
35
include testing.env
.DEFAULT_GOAL = build
.PHONY: test unit-test forge-test integration-test build dependencies clean
test: unit-test integration-test
unit-test: forge-test
forge-test: build
forge test --fork-url ${TESTING_AVAX_FORK_RPC} -vv
integration-test: build
bash shell-scripts/run_integration_tests.sh
build: dependencies
forge build
yarn typechain --target=ethers-v5 --out-dir=ethers-contracts out/*/*.json
dependencies: node_modules \
lib/forge-std lib/openzeppelin-contracts
clean:
forge clean
rm -rf node_modules anvil*.log lib ethers-contracts broadcast cache
node_modules:
yarn
lib/forge-std:
forge install foundry-rs/forge-std@v1.4.0 --no-git --no-commit
lib/openzeppelin-contracts:
forge install openzeppelin/openzeppelin-contracts@v4.8.1 --no-git --no-commit