-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
60 lines (41 loc) · 767 Bytes
/
Makefile
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
install:
pip install -e .[dev]
pre-commit install
full:
pip install -e .[dev,full]
dev:
pip install -e .[dev,docs]
test:
pytest -s
cov:
pytest --cov=meshwell
mypy:
mypy . --ignore-missing-imports
pylint:
pylint meshwell
ruff:
ruff --fix meshwell/*.py
git-rm-merged:
git branch -D `git branch --merged | grep -v \* | xargs`
update:
pur
update-pre:
pre-commit autoupdate --bleeding-edge
git-rm-merged:
git branch -D `git branch --merged | grep -v \* | xargs`
release:
git push
git push origin --tags
build:
rm -rf dist
pip install build
python -m build
jupytext:
jupytext docs/**/*.ipynb --to py
notebooks:
jupytext docs/**/*.py --to ipynb
docs:
jb build docs
.PHONY: drc doc docs
gmsh-ubuntu:
sudo apt-get install libglu1-mesa