-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathMakefile
More file actions
73 lines (54 loc) · 1.71 KB
/
Copy pathMakefile
File metadata and controls
73 lines (54 loc) · 1.71 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
install:
uv sync --extra docs --extra dev
all:
uv run python ubcpdk/samples/all_cells.py
rm-samples:
rm -rf ubcpdk/samples
dev: install
curl -sf https://raw.githubusercontent.com/doplaydo/pdk-ci-workflow-public/main/templates/.pre-commit-config.yaml -o .pre-commit-config.yaml
uv run pre-commit install
update-pre:
pre-commit autoupdate
tech:
python install_tech.py
test:
uv run pytest -s
test-ports:
uv run pytest -s tests/test_si220_cband.py::test_optical_port_positions
test-force: install
uv run pytest -s --update-gds-refs --force-regen
cov:
uv run pytest --cov=ubcpdk
git-rm-merged:
git branch -D `git branch --merged | grep -v \* | xargs`
meep:
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y
release:
git push
git push origin --tags
build:
rm -rf dist
pip install build
python -m build
mask:
python ubcpdk/samples/test_masks.py
docs-pdf:
uv run python .github/write_components_autodoc.py
uv run python .github/write_components_plot.py
cp CHANGELOG.md docs/changelog.md
uv run mkdocs build -f mkdocs-pdf.yml
docs:
uv run python .github/write_components_autodoc.py
uv run python .github/write_components_plot.py
cp CHANGELOG.md docs/changelog.md
uv run --extra docs zensical build -f docs/zensical.toml
docs-serve:
uv run python .github/write_components_autodoc.py
uv run python .github/write_components_plot.py
cp CHANGELOG.md docs/changelog.md
uv run --extra docs zensical serve -f docs/zensical.toml -a localhost:8080
update-changelog:
claude -p "remove links and make a user friendly changelog from @CHANGELOG.md to @docs/changelog.md"
.PHONY: drc drc-sample doc docs docs-pdf build update-changelog