### ----------------------------------------------------
### -- zef
### -- Licenses: Artistic-2.0
### -- Authors: Nick Logan, Tony O'Dell
### -- File: t/00-load.rakutest
### ----------------------------------------------------
use v6.d;
use Test;
plan 2;

subtest 'Core' => {
    use-ok("Zef");
    # Just `use Zef::CLI` will make it output usage
    # use-ok("Zef::CLI");
    use-ok("Zef::Build");
    use-ok("Zef::Config");
    use-ok("Zef::Extract");
    use-ok("Zef::Identity");
    use-ok("Zef::Test");
    use-ok("Zef::Install");
    use-ok("Zef::Fetch");
    use-ok("Zef::Client");

    use-ok("Zef::Repository");
    use-ok("Zef::Repository::LocalCache");
    use-ok("Zef::Repository::Ecosystems");

    use-ok("Zef::Distribution");
    use-ok("Zef::Distribution::DependencySpecification");
    use-ok("Zef::Distribution::Local");

    use-ok("Zef::Utils::FileSystem");
    use-ok("Zef::Utils::SystemQuery");
    use-ok("Zef::Utils::URI");
}

subtest 'Plugins' => {
    use-ok("Zef::Service::FetchPath");
    use-ok("Zef::Service::TAP");
    use-ok("Zef::Service::InstallRakuDistribution");
    use-ok("Zef::Service::FileReporter");
    use-ok("Zef::Service::Shell::DistributionBuilder");
    use-ok("Zef::Service::Shell::LegacyBuild");
    use-ok("Zef::Service::Shell::Test");
    use-ok("Zef::Service::Shell::unzip");
    use-ok("Zef::Service::Shell::tar");
    use-ok("Zef::Service::Shell::curl");
    use-ok("Zef::Service::Shell::git");
    use-ok("Zef::Service::Shell::wget");
}


