-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
58 lines (45 loc) · 1.58 KB
/
Makefile
File metadata and controls
58 lines (45 loc) · 1.58 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
57
58
# Makefile for Warp Bubble QFT
.PHONY: help install test lint docs clean demo manuscript
help:
@echo "Available targets:"
@echo " install - Install package in development mode"
@echo " test - Run test suite"
@echo " lint - Run code linting"
@echo " docs - Build documentation"
@echo " clean - Clean build artifacts"
@echo " demo - Run demonstration script"
install:
pip install -e .
test:
pytest tests/ -v
test-coverage:
pytest tests/ --cov=warp_qft --cov-report=html
lint:
flake8 src/warp_qft/
black --check src/warp_qft/
format:
black src/warp_qft/
docs:
cd docs && pdflatex polymer_field_algebra.tex
cd docs && pdflatex warp_bubble_proof.tex
manuscript:
@echo "Building REVTeX manuscript (papers/lqg_warp_verification_methods.pdf)..."
cd papers && pdflatex -interaction=nonstopmode lqg_warp_verification_methods.tex || true
cd papers && bibtex lqg_warp_verification_methods || true
cd papers && pdflatex -interaction=nonstopmode lqg_warp_verification_methods.tex || true
cd papers && pdflatex -interaction=nonstopmode lqg_warp_verification_methods.tex || true
@echo "Built papers/lqg_warp_verification_methods.pdf (if no errors were reported)"
clean-papers:
@echo "Cleaning LaTeX artifacts in papers/..."
cd papers && rm -f *.aux *.log *.blg *.out *.bbl *.toc
@echo "Preserved .tex, .bib, and .pdf files"
clean:
rm -rf build/
rm -rf dist/
rm -rf *.egg-info/
find . -type d -name __pycache__ -exec rm -rf {} +
find . -type f -name "*.pyc" -delete
demo:
cd examples && python demo_warp_bubble_sim.py
.PHONY: all
all: install test lint