#!/usr/bin/make -f export DH_GOLANG_EXCLUDES := cmd/ %: dh $@ --builddirectory=debian/_build --buildsystem=golang # Skip failing tests (because v6.28.0 is ancient and originally built with old # Go toolchain from 2024, producing different fake values) override_dh_auto_test: dh_auto_test -- -skip 'TestJSONRawMessage|TestStructToDateTime|ExampleCar|ExampleFaker_Car|ExampleImagePng|ExampleFaker_ImagePng|ExampleFirefoxUserAgent|ExampleFaker_FirefoxUserAgent|ExampleCreditCard|ExampleFaker_CreditCard|ExampleCreditCardExp|ExampleFaker_CreditCardExp|ExamplePerson|ExampleFaker_Person|ExampleSQL|ExampleFaker_SQL|ExampleDate|ExampleFaker_Date|ExampleYear|ExampleFaker_Year|ExampleCustomInt|ExampleEvenInt'