Prepare ms-private 0.0.1 release candidate
This commit is contained in:
1 parent
7aacc0b63f
commit
a515538438
75 files changed
+3957
-3484
No files matched your search
@@ -0,0 +1,12 @@
|
||||
#Requires -Version 5.1
|
||||
$ErrorActionPreference='Stop'
|
||||
$root=[IO.Path]::GetFullPath((Join-Path $PSScriptRoot '..'))
|
||||
$files=@(Get-ChildItem -LiteralPath $root -Filter '*.ps1' -File)
|
||||
foreach ($directory in @('src','tests')) {$files+=@(Get-ChildItem -LiteralPath (Join-Path $root $directory) -File | Where-Object Extension -in @('.ps1','.psm1'))}
|
||||
foreach ($file in $files) {
|
||||
$tokens=$null;$errors=$null
|
||||
[System.Management.Automation.Language.Parser]::ParseFile($file.FullName,[ref]$tokens,[ref]$errors) | Out-Null
|
||||
if ($errors.Count) {throw ($errors | Out-String)}
|
||||
}
|
||||
foreach ($suite in @('Run-Tests.ps1','Run-AppTests.ps1','Run-OfflineUpdateTests.ps1','Run-FeatureTests.ps1')) {& (Join-Path $PSScriptRoot $suite)}
|
||||
Write-Output 'All checks passed. No live policy or application mutations were performed.'
|
||||
Reference in new issue
Block a user