-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
58 lines (42 loc) · 1.52 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# include .env file and export its env vars
# (-include to ignore error if it does not exist)
-include .env
################################################################################################
# Utils
################################################################################################
fmt:
forge fmt
################################################################################################
# Foundry Dependencies
################################################################################################
remove:
rm -rf lib
install:
forge soldeer install
update: remove install
################################################################################################
# Build
################################################################################################
clean:
forge clean
build:
forge build --evm-version paris --sizes
clean_build: clean build
docs: clean_build
forge doc --build
################################################################################################
# Test
################################################################################################
test-all:
forge test
test-gas:
forge test --gas-report
test-coverage:
forge coverage
test-fuzz:
forge test --fuzz-runs 10000
################################################################################################
# Simulate
################################################################################################
simulate:
poetry run python simulation/simulate.py