-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmakefile
65 lines (49 loc) · 1.07 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
59
60
61
62
63
64
65
# Include .env file if it exists and export its env vars.
-include .env
# Set the default goal to setup.
.DEFAULT_GOAL := setup
# Prepare the local development environment.
setup::
@sh .shell/setup.sh
# Run Foundry scripts.
#
# Prerequisites:
# - [Foundry](https://getfoundry.sh)
build::
@forge build
clean::
@forge clean
coverage::
@forge coverage
deploy-sheetheads::
@forge script scripts/deploy/SheetHeads.s.sol\
--broadcast\
--verify\
--rpc-url $(network)\
--sig "run()"\
deploy-spreadsheet::
@forge script scripts/deploy/SpreadSheet.s.sol\
--broadcast\
--verify\
--rpc-url $(network)\
--sig "run(address,address)"\
$(sheet)\
$(bots)\
fmt-check::
@forge fmt --check
fmt-write::
@forge fmt
generate-allocation-merkle-tree::
@sh .shell/generate-allocation-merkle-tree.sh $(csv_file)
generate-transition-merkle-tree::
@sh .shell/generate-transition-merkle-tree.sh $(csv_file)
gas-report::
@forge test --gas-report
install::
@forge install --no-commit $(package)
test::
@forge test
update::
@forge update
watch::
@forge test --watch contracts/