Skip to content

Commit 01e8929

Browse files
committed
build: 🛠️ add enterprise Makefile for elegant developer experience (DX)
1 parent 8a72d2f commit 01e8929

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
.PHONY: help install test lint run clean
2+
3+
# Default command when just running 'make'
4+
help:
5+
@echo "🧠 Epistemic Forge - Developer Experience"
6+
@echo "----------------------------------------"
7+
@echo "Available commands:"
8+
@echo " make install - Install the package locally in editable mode with dev dependencies"
9+
@echo " make test - Run the Toulmin claim-lattice benchmark suite"
10+
@echo " make lint - Run Ruff to check code formatting and errors"
11+
@echo " make clean - Remove __pycache__, .pytest_cache, and build files"
12+
@echo " make cli - Test the CLI interface directly"
13+
14+
install:
15+
@echo "Installing Epistemic Forge..."
16+
pip install --upgrade pip
17+
pip install -e .[dev]
18+
19+
test:
20+
@echo "Running evaluation benchmarks..."
21+
pytest tests/ -v
22+
23+
lint:
24+
@echo "Linting with Ruff..."
25+
ruff check .
26+
27+
clean:
28+
@echo "Cleaning cache and build artifacts..."
29+
rm -rf build/ dist/ *.egg-info/ .pytest_cache/
30+
find . -type d -name "__pycache__" -exec rm -rf {} +
31+
32+
cli:
33+
@echo "Running CLI test query..."
34+
epistemic-forge --query "Is RAG strictly better than Long-Context LLMs?"

0 commit comments

Comments
 (0)