File: makefile

package info (click to toggle)
python-pysubs2 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,840 kB
  • sloc: python: 4,016; makefile: 163
file content (23 lines) | stat: -rw-r--r-- 389 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.PHONY: test doc clean build upload installdeps

test:
	pytest
	mypy --strict
	ruff check

doc:
	cd docs; $(MAKE) html

clean:
	cd docs; $(MAKE) clean

build:
	python3 -m build

upload:
	python3 -m twine upload dist/*

installdeps:
	python3 -m pip install --upgrade -r requirements-build.txt
	python3 -m pip install -r requirements-dev.txt
	python3 -m pip install -r docs/requirements.txt