File: Makefile

package info (click to toggle)
python-untangle 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 236 kB
  • sloc: python: 482; makefile: 149; xml: 74; sh: 9
file content (26 lines) | stat: -rw-r--r-- 400 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
24
25
26

.DEFAULT_GOAL=compile

compile:
	python -m compileall -q untangle.py tests/tests.py

setup:
	python -m pip install poetry
	poetry install

lint:
	poetry run flake8 .
	poetry run black --check .

test:
	poetry run pytest -v

# needs python-stdeb
package_deb:
	python setup.py --command-packages=stdeb.command bdist_deb

clean:
	rm -rf deb_dist/
	rm -rf debian/
	rm -rf dist/
	rm -f untangle-*.tar.gz