File: rules

package info (click to toggle)
ubuntu-dev-tools 0.207
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,180 kB
  • sloc: python: 9,113; sh: 1,304; perl: 135; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 248 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

override_dh_auto_clean:
	dh_auto_clean
	rm -f .coverage
	rm -rf .tox

override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
	python3 -m pytest -v ubuntutools
endif

%:
	dh $@ --with python3 --buildsystem=pybuild