File: makefile

package info (click to toggle)
python-mistletoe 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 864 kB
  • sloc: python: 5,649; sh: 66; makefile: 40
file content (28 lines) | stat: -rw-r--r-- 431 bytes parent folder | download | duplicates (2)
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
PYTHON_EXEC=python3

.PHONY: run test coverage integration benchmark docs

run:
	${PYTHON_EXEC} -m mistletoe

test:
	${PYTHON_EXEC} -m unittest

coverage:
	. venv/bin/activate && \
	${PYTHON_EXEC} -m coverage run -m unittest && \
	coverage report && \
	deactivate

integration:
	./test/test_ci.sh 1

benchmark:
	${PYTHON_EXEC} test/benchmark.py

specification:
	${PYTHON_EXEC} -m test.specification

docs:
	${PYTHON_EXEC} -m docs