"Fossies" - the Fresh Open Source Software Archive

Member "RT-Extension-Assets-1.05/Makefile.PL" (1 Apr 2015, 1053 Bytes) of package /linux/misc/RT-Extension-Assets-1.05.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Perl source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "Makefile.PL": 1.02_vs_1.04.

    1 use inc::Module::Install;
    2 
    3 RTx 'RT-Extension-Assets';
    4 all_from 'lib/RT/Extension/Assets.pm';
    5 readme_from 'lib/RT/Extension/Assets.pm';
    6 license  'gplv2';
    7 perl_version 5.010001;
    8 
    9 no_index package => "HTML::Mason::Commands";
   10 no_index package => "RT::Transaction";
   11 no_index package => "RT::CustomField";
   12 no_index package => "RT::CustomFields";
   13 
   14 requires_rt("4.2.1");
   15 test_requires "Test::Warn";
   16 
   17 my ($loaded) = ($INC{'RT.pm'} =~ /^(.*)[\\\/]/);
   18 my $lib_path = join( ' ', "$RT::LocalPath/lib", $loaded );
   19 
   20 substitute(
   21     {
   22         RT_LIB_PATH  => $lib_path,
   23     },
   24     {
   25         sufix => '.in'
   26     },
   27     q(xt/lib/RT/Extension/Assets/Test.pm),
   28 );
   29 
   30 postamble(<<POSTAMBLE
   31 snapshot: dist sign-dist dist-shasums
   32 
   33 sign-dist:
   34     gpg -a --detach-sign \$(DISTVNAME).tar.gz
   35 
   36 dist-shasums:
   37     sha1sum \$(DISTVNAME).tar.gz*
   38 
   39 parallel-test: test-parallel
   40 
   41 test-parallel:
   42     RT_TEST_PARALLEL=1 \$(FULLPERLRUN) "-MApp::Prove" -e 'my \$\$p = App::Prove->new(); \$\$p->process_args("-wlrj5","--state=slow,save", "xt"); exit( \$\$p->run() ? 0 : 1 )'
   43 POSTAMBLE
   44 );
   45 
   46 sign;
   47 WriteAll;