Debian Codegraph @

Makefile

raw
1 #! /usr/bin/make -f
2
3 .PHONY: tests
4 tests:
5 pytest-3
6
7 # run tests not requiring network
8 .PHONY: quicktests
9 quicktests:
10 pytest-3 -m 'not network'
11
12 .PHONY: lint
13 lint:
14 flake8 . bin/*
15
16 # download some data from the web for use in the package
17 .PHONY: cache-data
18 cache-data:
19 python3 cache-data.py
20
21 # convert the cache data to make it importable
22 .PHONY: convert-data
23 convert-data:
24 python3 convert-data.py
25
26 .PHONY: clean
27 clean:
28 find . -type f -name '*.pyc' -delete
29 find . -type d -name '__pycache__' -delete
30 rm -f reportbug/data.py
31 rm -rf build
32 rm -rf reportbug.egg-info