File: rules

package info (click to toggle)
bats 1.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,628 kB
  • sloc: sh: 3,681; makefile: 34; python: 22
file content (21 lines) | stat: -rwxr-xr-x 487 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
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#DH_VERBOSE = 1

export HOME=$(shell mktemp -d)

# main packaging script based on dh7 syntax
%:
	dh $@

override_dh_clean:
	dh_clean
	rm -f test/.bats/run-logs/*.log

override_dh_auto_install:
	./install.sh debian/bats/usr

override_dh_auto_test:
	mkdir -p ~/.parallel && touch ~/.parallel/will-cite
	LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 TERM=dumb bin/bats --tap test