-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
38 lines (31 loc) · 891 Bytes
/
Makefile
File metadata and controls
38 lines (31 loc) · 891 Bytes
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
help:
@echo "Supported targets:"
@echo " doc (render Doxygen)"
@echo " clean (delete artifacts)"
@echo " cloc (count SLOC)"
@echo " publish (flit --> pypi)"
@echo " publish-test (flit --> testpypi)"
@echo " pip-install-local"
.PHONY: doc docs clean cloc publish publish-test pip-install-local
cloc:
@cloc --include-lang=Python .
doc docs:
@echo "Rendering Doxygen..."
@mkdir -p doxygen
@doxygen 1>doxygen.out 2>doxygen.err
@cat doxygen.err
clean:
@rm -rf doxygen \
doxygen.out \
doxygen.err
@find . -name \*.pyc -exec rm {} \;
pip-install-local:
pip install $$PWD
publish-test:
@echo REMINDER to keep .toml in sync with __init__.py!
@echo
flit publish --repository testpypi
publish:
@echo REMINDER to keep .toml in sync with __init__.py!
@echo
flit publish