test-modules startup script draft

This commit is contained in:
lksz 2020-11-05 00:08:59 -05:00
parent baa3ccd04d
commit 0d5522b8c7
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
$(Get-Content $MyPSScriptRoot/src/modules.json | ConvertFrom-Json).Modules | Where-Object { try{-not (Get-Module -ListAvailable $_aaa -ErrorAction stop) }catch{} } | ForEach-Object { Write-Warning "Missing module: $_" }

View File

@ -1,6 +1,7 @@
{ {
"Modules": [ "Modules": [
"Microsoft.PowerShell.UnixCompleters", "Microsoft.PowerShell.UnixCompleters",
"PowerShellCookbook",
"oh-my-posh", "oh-my-posh",
"posh-git" "posh-git"
] ]