File: Makefile

package info (click to toggle)
silver-platter 0.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,564 kB
  • sloc: python: 348; makefile: 33; sh: 1
file content (32 lines) | stat: -rw-r--r-- 519 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
29
30
31
32
all: build-inplace

build-inplace:
	python3 setup.py build_ext -i
	python3 setup.py build_rust -i

coverage: build-inplace
	python3 -m coverage run -m unittest tests.test_suite

coverage-html:
	python3 -m coverage html

check:: style

style:
	PYTHONPATH=$(shell pwd)/py ruff check py

fix:
	ruff check --fix py
	cargo fmt --all

format:
	ruff format py
	cargo fmt --all

check:: testsuite

testsuite:: build-inplace
	PYTHONPATH=$(shell pwd)/py python3 -m unittest tests.test_suite

testsuite::
	cargo test-all-features