PSDependMap.psd1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
# 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 \PSDepend\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 = 'windows' } Command = @{ Script = 'Command.ps1' Description = 'Invoke a command in PowerShell' Supports = 'windows', 'core', 'macos', 'linux' } DotnetSdk = @{ Script = 'DotnetSdk.ps1' Description = "Installs the .NET Core SDK" Supports = 'windows', 'core', '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 = 'windows', 'core', 'macos', 'linux' } GitHub = @{ Script = 'GitHub.ps1' Description = 'Download and extract a GitHub repo' Supports = 'windows', 'core', 'macos', 'linux' } Npm = @{ Script = 'Npm.ps1' Description = 'Install a node package' Supports = 'windows', 'core', 'macos', 'linux' } Noop = @{ Script = 'Noop.ps1' Description = 'Display parameters that a depends script would receive. Use for testing and validation' Supports = 'windows', 'core', 'macos', 'linux' } Nuget = @{ Script = 'Nuget.ps1' Description = 'Install a Nuget package from a Nuget feed' Supports = 'windows', 'core', 'macos', 'linux' } Package = @{ Script = 'Package.ps1' Description = 'EXPERIMENTAL: Install a package via PackageManagement Install-Package' Supports = 'windows', 'core', 'macos', 'linux' } PSGalleryModule = @{ Script= 'PSGalleryModule.ps1' Description = 'Install a PowerShell module from the PowerShell Gallery' Supports = 'windows', 'core', 'macos', 'linux' } PSGalleryNuget = @{ Script = 'PSGalleryNuget.ps1' Description = 'Install a PowerShell module from the PowerShell Gallery without the PowerShellGet dependency' Supports = 'windows', 'core', 'macos', 'linux' } Task = @{ Script = 'Task.ps1' Description = 'Support dependencies by handling simple tasks' Supports = 'windows', 'core', 'macos', 'linux' } } |