PSDependMap.psd1
# This defines dependencies. Feel free to create your own # Top level node is the dependency name # Script is the script to run. These are stored in \PSDepend2\PSDependScripts # Description is a quick description of the dependency script # Supports is a way to filter supported platforms: core, windows, macos, linux # In some cases, it may be beneficial to include 'aliases'. Just add nodes for these. @{ Chocolatey = @{ Script = 'Chocolatey.ps1' Description = 'Install a Chocolatey package from a Chocolatey feed' Supports = 'core', 'windows' } Command = @{ Script = 'Command.ps1' Description = 'Invoke a command in PowerShell' Supports = 'core', 'windows', 'macos', 'linux' } DotnetSdk = @{ Script = 'DotnetSdk.ps1' Description = "Installs the .NET Core SDK" Supports = 'core', 'windows', 'macos', 'linux' } FileDownload = @{ Script = 'FileDownload.ps1' Description = 'Download a file' Supports = 'windows' } FileSystem = @{ Script = 'FileSystem.ps1' Description = 'Copy a file or folder' Supports = 'windows' } Git = @{ Script = 'Git.ps1' Description = 'Clone a git repository' Supports = 'core', 'windows', 'macos', 'linux' } GitHub = @{ Script = 'GitHub.ps1' Description = 'Download and extract a GitHub repo' Supports = 'core', 'windows', 'macos', 'linux' } Npm = @{ Script = 'Npm.ps1' Description = 'Install a node package' Supports = 'core', 'windows', 'macos', 'linux' } Noop = @{ Script = 'Noop.ps1' Description = 'Display parameters that a depends script would receive. Use for testing and validation' Supports = 'core', 'windows', 'macos', 'linux' } Nuget = @{ Script = 'Nuget.ps1' Description = 'Install a Nuget package from a Nuget feed' Supports = 'core', 'windows', 'macos', 'linux' } Package = @{ Script = 'Package.ps1' Description = 'EXPERIMENTAL: Install a package via PackageManagement Install-Package' Supports = 'core', 'windows', 'macos', 'linux' } PSGalleryModule = @{ Script= 'PSGalleryModule.ps1' Description = 'Install a PowerShell module from the PowerShell Gallery' Supports = 'core', 'windows', 'macos', 'linux' } PSGalleryNuget = @{ Script = 'PSGalleryNuget.ps1' Description = 'Install a PowerShell module from the PowerShell Gallery without the PowerShellGet dependency' Supports = 'core', 'windows', 'macos', 'linux' } Task = @{ Script = 'Task.ps1' Description = 'Support dependencies by handling simple tasks' Supports = 'core', 'windows', 'macos', 'linux' } } |