File: dist.ini

package info (click to toggle)
libdist-zilla-plugin-prepender-perl 1.112280-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 160 kB
  • ctags: 5
  • sloc: perl: 202; makefile: 2
file content (27 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (4)
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";