3 use warnings FATAL => 'all';
4 use Test::More qw(no_plan);
10 BEGIN { use_ok "App::FatPacker", "" }
12 my $tempdir = File::Temp->newdir;
13 mkpath([<$tempdir/{lib,fatlib}/t/mod>]);
16 copy $_, "$tempdir/lib/$_" or die "copy failed: $!";
21 my $fp = App::FatPacker->new;
22 my $temp_fh = File::Temp->new;
24 $fp->script_command_file;
29 # Packed, now try using it:
35 ok $t::mod::a::foo eq 'bar';