[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Do go source packages normally contain test code?



Should be okay. If not, try putting it between double quotes.

If I understand correctly, it excludes files to be copied to temporary build directory.

On March 22, 2019 12:41:16 AM GMT+01:00, Tong Sun <suntong001@users.sourceforge.net> wrote:
Hi,

Do go source packages normally contain test code?

I tried to add the following to my rules file

export DH_GOLANG_EXCLUDES := test vendor

Is that the correct way to go?

"DH_GOLANG_EXCLUDES" (list of Perl regular expressions,
whitespace-separated, default empty) defines regular _expression_
patterns to exclude from the build targets expanded from
"DH_GOLANG_BUILDPKG".

I'm still don't understand what it is for, as I noticed that the test
folder and its files are still in the source packages. What does
DH_GOLANG_EXCLUDES do exactly?

thx


Reply to: