forked from kkrt-labs/kakarot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (28 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
.PHONY: build test coverage
build:
$(MAKE) clean
starknet-compile ./src/kakarot/kakarot.cairo --output build/kakarot.json --disable_hint_validation --cairo_path ./src
starknet-compile ./src/kakarot/accounts/contract/contract_account.cairo --output build/contract_account.json --disable_hint_validation --cairo_path ./src
starknet-compile ./src/kakarot/accounts/eoa/externally_owned_account.cairo --output build/externally_owned_account.json --disable_hint_validation --cairo_path ./src
starknet-compile ./src/kakarot/accounts/registry/account_registry.cairo --output build/account_registry.json --disable_hint_validation --cairo_path ./src
setup:
poetry install --no-root
coverage:
pytest ./coverage/coverage.py -s
test:
pytest tests -s --log-cli-level=INFO
test-integration:
pytest tests/integrations -s --log-cli-level=INFO
test-units:
pytest tests/units -s --log-cli-level=INFO
format:
cairo-format src/**/*.cairo -i
black tests/.
isort tests/.
format-check:
cairo-format src/**/*.cairo -c
black tests/. --check
isort tests/. --check
clean:
rm -rf build
mkdir build