Load modules directory from a .tar.gz archive
Other Perl
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/CompUnit/Repository Fix auth/ver copy pasto Jul 24, 2016
t Implement .resolve Jul 11, 2016
.appveyor.yml Update .appveyor.yml May 2, 2017
.gitignore Initial commit Jul 5, 2016
.travis.yml Install deps without installing zef Jul 25, 2016
LICENSE Create LICENSE May 2, 2017
README.pod Fix appveyor url Jul 25, 2016



Load modules directly from a .tar.gz archive


# some file in this distributions t/ directory

use CompUnit::Repository::Tar;

# Archive must contain a META6.json file
my $archive = $?FILE.IO.parent.child('data/zef.tar.gz');
use lib "CompUnit::Repository::Tar#{~$archive}";

require <lib/Zef.pm6>  # `require` by relative path
require <Zef::Client>; # `require` by name
use Zef::CLI;          # `use` by name

See: tests