-
Notifications
You must be signed in to change notification settings - Fork 15
/
Makefile
34 lines (24 loc) · 859 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
PHONY: reset-anvil
__CONTRACTS__: ##
start-anvil-chain-with-contracts-deployed: ##
./crates/contracts/anvil/start-anvil-chain-with-el-and-avs-deployed.sh
deploy-contracts-to-anvil-and-save-state: ##
./crates/contracts/anvil/deploy-contracts-save-anvil-state.sh
__TESTING__: ##
reset-anvil:
-docker stop anvil
-docker rm anvil
coverage:
cargo llvm-cov --lcov --output-path lcov.info --workspace --features fireblock-tests
cargo llvm-cov report --html
deps:
@if ! command -v cargo-llvm-cov &> /dev/null; then \
cargo install cargo-llvm-cov; \
fi
fireblocks-tests:
cargo test --package eigen-client-fireblocks --features fireblock-tests
lint:
cargo fmt --all -- --check \
&& cargo clippy --workspace --all-features --benches --examples --tests -- -D warnings
start-anvil: reset-anvil ##
$(MAKE) start-anvil-chain-with-contracts-deployed