File: rules

package info (click to toggle)
mockery 0.0~git20181123.e78b021-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 360 kB
  • sloc: makefile: 32
file content (14 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

## tests time out on [mips64el].
ifneq (,$(filter $(DEB_BUILD_ARCH), mips64el ))
    MINUS:=-
endif
override_dh_auto_test:
	$(MINUS)dh_auto_test    $(if $(findstring -,$(MINUS)),$(warning Detected $(DEB_BUILD_ARCH), test failures will be ignored.))

override_dh_auto_install:
	dh_auto_install -- --no-source

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