File tree 2 files changed +5
-2
lines changed
.azure-pipelines/PipelineSteps/BatchGeneration
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,9 @@ Import-Module $utilFilePath -Force
9
9
10
10
$srcPath = Join-Path $RepoRoot ' src'
11
11
$moduleMap = Get-AutorestV4ModuleMap - srcPath $srcPath
12
+ $moduleMap = @ {
13
+ " DeviceRegistry" = @ (" DeviceRegistry.Autorest" )
14
+ }
12
15
Write-Host " Total matched modules: $ ( $moduleMap.Count ) "
13
16
14
17
$modules = @ ($moduleMap.Keys | Sort-Object )
Original file line number Diff line number Diff line change 4
4
)
5
5
6
6
# Check number of generation targets
7
- $generationTargetsFile = Join-Path $PipelineWorkspace " _current" " prepare " " generationTargets.json"
7
+ $generationTargetsFile = Join-Path $PipelineWorkspace " _current" " generationTargets.json"
8
8
$generationTargets = Get-Content - Raw - Path $generationTargetsFile | ConvertFrom-Json
9
9
$totalGenerationModules = 0
10
10
foreach ($outerKey in $generationTargets.PSObject.Properties.Name ) {
@@ -20,7 +20,7 @@ $targetPatterns = @{
20
20
Test = " testWindowsTargets.json"
21
21
}
22
22
foreach ($pattern in $targetPatterns.GetEnumerator ()) {
23
- $targetFilePath = Join-Path $PipelineWorkspace " _current" " filter " $pattern.Value
23
+ $targetFilePath = Join-Path $PipelineWorkspace " _current" $pattern.Value
24
24
$targetJson = Get-Content - Raw - Path $targetFilePath | ConvertFrom-Json
25
25
$total = ($targetJson.PSObject.Properties.Value | ForEach-Object {
26
26
$_.Count
You can’t perform that action at this time.
0 commit comments