-
Notifications
You must be signed in to change notification settings - Fork 43
/
Makefile
34 lines (30 loc) · 957 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
27
28
29
30
31
32
33
34
-include .env.defaults
-include .env
export
SCRIPT_DIR = ./script
TEST_DIR = ./test
build:
forge build --skip .old.sol
rebuild: clean build
install: init
init:
git submodule update --init --recursive
git update-index --assume-unchanged playground/*
forge install
test:
forge test -vv
test-gas-report:
forge test -vv --gas-report
trace:
forge test -vvvv
deploy-servers:
forge script ./script/DeployServer.s.sol --broadcast --slow --optimize --optimizer-runs 999999 --names --verify --rpc-url ${MAINNET_RPC_URL}
deploy-ownedMulticall:
forge script ./script/DeployOwnedMulticall.s.sol --broadcast --slow --optimize --optimizer-runs 999999 --names --verify --rpc-url ${MAINNET_RPC_URL}
playground: FOUNDRY_TEST:=playground
playground:
forge test --match-path playground/Playground.t.sol -vv
playground-trace: FOUNDRY_TEST:=playground
playground-trace:
forge test --match-path playground/Playground.t.sol -vvvv --gas-report
.PHONY: test playground