1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
name = Foo
version = 1.23
author = foobar
license = Perl_5
copyright_holder = foobar
copyright_year = 2009
[GatherDir]
[Prepender]
copyright = 1
line = use strict;
line = use warnings;
skip = t/.+\.pl
skip = more-things-to-skip
; generate this file inside this test dist to avoid prepending to it when the outside dist is built
[GenerateFile / GenSkipped]
filename = t/support.pl
content = # only used during tests
content = use strict;
content = 1;
; test that a different (not skipped) generated file does get prepended
[GenerateFile / GenPrepended]
filename = bin/foobarbaz
content = #!/usr/bin/perl
content = print "foo\n";
|