### ----------------------------------------------------
### -- zef
### -- Licenses: Artistic-2.0
### -- Authors: Nick Logan, Tony O'Dell
### -- File: resources/config.json
### ----------------------------------------------------
{
    "ConfigVersion" : "1",
    "StoreDir" : "$*HOME/.zef/store",
    "TempDir"  : "$*TMPDIR/.zef.{time}.{$*PID}",
    "DefaultCUR" : ["auto"],
    "License" : {
        "whitelist" : "*",
        "blacklist" : []
    },
    "Install" : [
        { 
            "short-name" : "install-raku-dist",
            "enabled" : 1,
            "module" : "Zef::Service::InstallRakuDistribution"
        }
    ],
    "Report" : [
        { 
            "short-name" : "file-reporter",
            "enabled" : 0,
            "module" : "Zef::Service::FileReporter"
        }
    ],
    "Repository" : [
        [
            {
                "short-name": "fez",
                "enabled": 1,
                "module": "Zef::Repository::Ecosystems",
                "options": {
                    "name": "fez",
                    "auto-update": 1,
                    "uses-path": true,
                    "mirrors": [
                        "https://360.zef.pm/"
                    ]
                }
            }
        ],
        [
            {
                "short-name" : "cpan",
                "enabled" : 0,
                "module" : "Zef::Repository::Ecosystems",
                "options" : {
                    "name" : "cpan",
                    "auto-update" : 1,
                    "mirrors" : [
                        "https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json",
                        "https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json",
                        "https://github.com/ugexe/Perl6-ecosystems.git"
                    ]
                }
            },
            {
                "short-name" : "p6c",
                "enabled" : 0,
                "module" : "Zef::Repository::Ecosystems",
                "options" : {
                    "name" : "p6c",
                    "auto-update" : 1,
                    "mirrors" : [
                        "https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json",
                        "https://github.com/ugexe/Perl6-ecosystems.git",
                        "https://ecosystem-api.p6c.org/projects1.json"
                    ]
                }
            }
        ],
        [
            {
                "short-name": "rea",
                "enabled": 1,
                "module": "Zef::Repository::Ecosystems",
                "options": {
                    "name": "rea",
                    "auto-update": 1,
                    "mirrors": [
                        "https://raw.githubusercontent.com/Raku/REA/main/META.json"
                    ]
                }
            }
        ],
        [
            {
                "short-name" : "cached",
                "enabled" : 1,
                "module" : "Zef::Repository::LocalCache",
                "options" : { }
            }
        ]
    ],
    "Fetch" : [
        {
            "short-name" : "git",
            "module" : "Zef::Service::Shell::git",
            "options" : {
                "scheme" : "https"
            }
        },
        {
            "short-name" : "path",
            "module" : "Zef::Service::FetchPath"
        },
        {
            "short-name" : "curl",
            "module" : "Zef::Service::Shell::curl"
        },
        {
            "short-name" : "wget",
            "module" : "Zef::Service::Shell::wget"
        }
    ],
    "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" : "tar",
            "module" : "Zef::Service::Shell::tar"
        },
        {
            "short-name" : "unzip",
            "module" : "Zef::Service::Shell::unzip"
        },
        {
            "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 :("
        }
    ],
    "Build" : [
        {
            "short-name" : "default-builder",
            "module" : "Zef::Service::Shell::DistributionBuilder"
        },
        {
            "short-name" : "legacy-builder",
            "module" : "Zef::Service::Shell::LegacyBuild"
        }
    ],
    "Test" : [
        {
            "short-name" : "tap-harness",
            "module" : "Zef::Service::TAP",
            "comment" : "Raku TAP::Harness adapter"
        },
        {
            "short-name" : "raku-test",
            "module" : "Zef::Service::Shell::Test"
        }
    ]
}


