forked from sierra-research/tau2-bench
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (32 loc) · 839 Bytes
/
Makefile
File metadata and controls
37 lines (32 loc) · 839 Bytes
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
# Default target
.PHONY: all
all: help
## Clean up generated files and virtual environment
.PHONY: clean
clean:
rm -rf .venv
rm -rf __pycache__
rm -rf *.egg-info
rm -rf .pytest_cache
rm -rf dist
rm -rf build
## Run all tests
.PHONY: test
test:
pytest tests/
## Start the Environment CLI for interacting with domain environments
.PHONY: env-cli
env-cli:
python -m tau2.environment.utils.interface_agent
## Display online help for commonly used targets in this Makefile
.PHONY: help
help:
@awk '/^[a-zA-Z_\/\.0-9-]+:/ { \
nb = sub( /^## /, "", helpMsg ); \
if (nb) \
print $$1 "\t" helpMsg; \
} \
{ helpMsg = $$0 }' $(MAKEFILE_LIST) | \
column -ts $$'\t' | \
expand -t 1 | \
grep --color '^[^ ]*'