-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjustfile
More file actions
56 lines (45 loc) · 1.46 KB
/
Copy pathjustfile
File metadata and controls
56 lines (45 loc) · 1.46 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
default:
@just --list
clean:
@echo "Cleaning agentinterface..."
@rm -rf dist build .pytest_cache .ruff_cache __pycache__ node_modules
@find . -type d -name "__pycache__" -exec rm -rf {} +
@cd react && rm -rf dist build node_modules
@cd python && rm -rf dist build .pytest_cache .ruff_cache .venv
install:
@cd react && npm install
@cd python && poetry lock
@cd python && poetry install
ci:
@node react/scripts/discover.mjs --quiet
@cd react && npm run --silent lint:fix
@cd react && npm run --silent format
@cd python && poetry run ruff format . --quiet
@cd python && poetry run ruff check . --fix --quiet
@cd react && npm run --silent lint
@cd python && poetry run ruff check . --quiet
@cd react && npm run --silent test:unit
@cd python && poetry run pytest -q
test:
@cd react && npm test
@cd python && poetry run pytest
lint:
@cd react && npm run lint
@cd python && poetry run ruff check .
format:
@cd python && poetry run ruff format .
fix:
@cd python && poetry run ruff check . --fix --unsafe-fixes
discover:
@node react/scripts/discover.mjs
build:
@cd react && npm run build
@cd python && poetry build
publish: ci build
@echo "Publishing React to npm..."
@cd react && npm publish
@echo "Publishing Python to PyPI..."
@cd python && poetry publish
@echo "✓ Published to npm and PyPI"
commits:
@git --no-pager log --pretty=format:"%h | %ar | %s"