File: rules

package info (click to toggle)
golang-github-muesli-termenv 0.15.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 712 kB
  • sloc: makefile: 8
file content (15 lines) | stat: -rwxr-xr-x 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f

export DH_GOLANG_EXCLUDES := examples

%:
	dh $@ --builddirectory=_build --buildsystem=golang

execute_before_dh_auto_test:
	# TestTemplateFuncs loads templatehelper files using a relative path,
	# so we need to copy the files manually.
	mkdir -p _build/src/github.com/muesli/termenv/testdata
	cp testdata/templatehelper* _build/src/github.com/muesli/termenv/testdata

execute_after_dh_auto_test:
	rm -r _build/src/github.com/muesli/termenv/testdata