### ----------------------------------------------------
### -- Shelve6
### -- Licenses: Artistic-2.0
### -- Authors: Robert Lemmen <robertle@semistable.com>
### -- File: features/files/zef-config.json
### ----------------------------------------------------
{
    "ConfigVersion" : "1",
    "RootDir"  : "<TEMP_PATH>/.zef",
    "StoreDir" : "<TEMP_PATH>/.zef/store",
    "TempDir"  : "<TEMP_PATH>/.zef/tmp",
    "DefaultCUR" : ["auto"],
    "License" : {
        "whitelist" : "*",
        "blacklist" : []
    },
    "Install" : [
        { 
            "short-name" : "installpm6",
            "enabled" : 1,
            "module" : "Zef::Service::InstallPM6"
        }
    ],
    "Report" : [
        { 
            "short-name" : "p6ctesters",
            "enabled" : 0,
            "module" : "Zef::Service::P6CReporter"
        },
        {
            "short-name" : "cpantesters",
            "enabled" : 1,
            "module" : "Zef::CPANReporter",
            "comment" : "Third party plugin - zef install Zef::Reporter::CPAN"
        }
    ],
    "Repository" : [
        {
            "short-name" : "cached",
            "enabled" : 1,
            "module" : "Zef::Repository::LocalCache",
            "options" : { }
        },
        {
            "short-name" : "shelve6",
            "enabled" : 1,
            "module" : "Zef::Repository::Ecosystems",
            "options" : {
                "name" : "shelve6",
                "auto-update" : 1,
                "mirrors" : [
                    "http://localhost:18080/repos/p6repo/packages.json"
                ]
            }
        }
    ],
    "Fetch" : [
        {
            "short-name" : "git",
            "module" : "Zef::Service::Shell::git",
            "options" : {
                "scheme" : "https"
            }
        },
        {
            "short-name" : "path",
            "module" : "Zef::Service::FetchPath"
        },
        {
            "short-name" : "authenticated-download",
            "module" : "Zef::Service::AuthenticatedDownload",
            "options" : { 
                "configured-hosts" : [
                    {
                        "hostname" : "localhost",
                        "auth-type" : "opaque-token"
                    }
                ]
            }
        },
        {
            "short-name" : "curl",
            "module" : "Zef::Service::Shell::curl"
        },
        {
            "short-name" : "wget",
            "module" : "Zef::Service::Shell::wget"
        },
        {
            "short-name" : "pswebrequest",
            "module" : "Zef::Service::Shell::PowerShell::download"
        }
    ],
    "Extract" : [
        {
            "short-name" : "git",
            "module" : "Zef::Service::Shell::git",
            "comment" : "used to checkout (extract) specific tags/sha1/commit/branch from a git repo"
        },
        {
            "short-name" : "path",
            "module" : "Zef::Service::FetchPath",
            "comment" : "if this goes before git then git wont be able to extract/checkout local paths because this reaches it first :("
        },
        {
            "short-name" : "tar",
            "module" : "Zef::Service::Shell::tar"
        },
        {
            "short-name" : "p5tar",
            "module" : "Zef::Service::Shell::p5tar"
        },
        {
            "short-name" : "unzip",
            "module" : "Zef::Service::Shell::unzip"
        },
        {
            "short-name" : "psunzip",
            "module" : "Zef::Service::Shell::PowerShell::unzip"
        }
    ],
    "Build" : [
        {
            "short-name" : "default-builder",
            "module" : "Zef::Service::Shell::Build"
        }
    ],
    "Test" : [
        {
            "short-name" : "tap-harness",
            "module" : "Zef::Service::TAP",
            "comment" : "Perl6 TAP::Harness adapter"
        },
        {
            "short-name" : "prove",
            "module" : "Zef::Service::Shell::prove"
        },
        {
            "short-name" : "perl6-test",
            "module" : "Zef::Service::Shell::Test"
        }
    ]
}


