3 use warnings FATAL => 'all';
4 use Test::More qw(no_plan);
11 BEGIN { use_ok "App::FatPacker", "" }
13 my $tempdir = File::Temp->newdir;
14 mkpath([<$tempdir/{lib,fatlib}/t/mod>]);
17 copy $_, "$tempdir/lib/$_" or die "copy failed: $!";
23 my $fp = App::FatPacker->new;
24 my $temp_fh = File::Temp->new;
26 $fp->script_command_file;
31 # Packed, now try using it:
37 ok $t::mod::a::foo eq 'bar';
40 # moving away from the dir so it could be deleted