-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
44 lines (33 loc) · 817 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
35
36
37
38
39
40
41
42
43
44
.PHONY: test build clean
# Install package
install:
pip install poetry==1.8.4
poetry install --with dev
# Run PettingZoo example
pz:
poetry run python3 -m examples.pettingzoo_example
# Run Gymnasium example
gym:
poetry run python3 -m examples.gymnasium_example
remote:
poetry run python3 -m examples.client_example
# Create new replay and run it
make n_replay:
poetry run python3 -m examples.record_replay_example
poetry run python3 -m examples.show_replay_example
# Run existing replay
replay:
poetry run python3 -m examples.show_replay_example
###################
# Developer tools #
###################
test_performance:
poetry run python3 -m tests.parallel_api_check
test:
poetry run pytest
pc:
poetry run pre-commit run --all-files
build:
poetry build
clean:
rm -rf build dist *.egg-info