Skip to content

REQUIREMENTS.json

Raymond Piller edited this page Feb 1, 2016 · 1 revision

Works well with REQUIREMENTS.json:

[
    {
        "Name": "ConvertFrom-Registry",
        "Command": "ConvertFrom-Registry",
        "Version": "v1.0",
        "URL": "https://github.com/UNT-CAS-ITS/{0}/archive/{1}.zip",
        "URL_f": "@($requirement.Name, $requirement.Version)",
        "Path": "{0}\\REQUIREMENTS.json\\",
        "Path_f": "$env:Temp",
        "Import": ". {0}{1}-{2}\\{1}.ps1",
        "Import_f": "@($Path, $requirement.Name, $requirement.Version.Split('v')[1])"
    }
]
Clone this wiki locally