File: compile.t

package info (click to toggle)
libdist-zilla-perl 6.017-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,680 kB
  • sloc: perl: 7,041; makefile: 4; sh: 1
file content (18 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use strict;
use warnings;
use Test::More;

use File::Find::Rule;
use Try::Tiny;

my @files = File::Find::Rule->name('*.pm')->in('lib');
plan tests => @files - 1;

for (@files) {
  next if /Tutorial.pm/;
  s/^lib.//;
  s/.pm$//;
  s{[\\/]}{::}g;

  require_ok($_);
}