Skip to content

Commit 6320326

Browse files
committed
chore: migrate from Makefile to justfile
Replace Makefile with justfile for better command runner experience. Add just to Nix devShell for development environment.
1 parent 36fc480 commit 6320326

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
devShells.default = pkgs.mkShell {
6868
buildInputs = with pkgs; [
6969
uv
70+
just
7071
nixfmt-rfc-style
7172
];
7273

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,42 @@
1+
# Install dependencies and pre-commit hooks
12
install:
23
uv sync --all-extras
34

5+
# Run ruff linting
46
lint:
57
uv run ruff check .
68

9+
# Auto-fix linting issues
710
lint-fix:
811
uv run ruff check --fix .
912

13+
# Run all tests
1014
test:
1115
uv run pytest
1216

17+
# Run tool-specific tests
1318
test-tools:
1419
uv run pytest tests
1520

21+
# Run example tests
1622
test-examples:
1723
uv run pytest examples
1824

25+
# Run type checking
1926
mypy:
2027
uv run mypy stackone_ai
2128

29+
# Build and serve docs locally
2230
docs-serve:
2331
uv run scripts/build_docs.py
2432
uv run mkdocs serve
2533

34+
# Build docs for deployment
2635
docs-build:
2736
uv run scripts/build_docs.py
2837
uv run mkdocs build
2938

39+
# Run MCP server inspector for debugging
3040
mcp-inspector:
3141
uv sync --all-extras
3242
npx @modelcontextprotocol/inspector stackmcp

0 commit comments

Comments
 (0)