Skip to content

Commit b081a22

Browse files
authored
Merge pull request #1185 from michaeltlombardi/maint/main/per-project-data
(MAINT) Define build data per-project
2 parents 1f6adbb + 35a24b4 commit b081a22

File tree

36 files changed

+1334
-425
lines changed

36 files changed

+1334
-425
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
linux-pester:
6262
needs: linux-build
6363
strategy:
64+
fail-fast: false
6465
matrix:
6566
group: [dsc, adapters, extensions, resources]
6667
runs-on: ubuntu-latest
@@ -102,6 +103,7 @@ jobs:
102103
macos-pester:
103104
needs: macos-build
104105
strategy:
106+
fail-fast: false
105107
matrix:
106108
group: [dsc, adapters, extensions, resources]
107109
runs-on: macos-latest
@@ -146,6 +148,7 @@ jobs:
146148
windows-pester:
147149
needs: windows-build
148150
strategy:
151+
fail-fast: false
149152
matrix:
150153
group: [dsc, adapters, extensions, resources]
151154
runs-on: windows-latest

.vscode/schemas/build.data.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$ref": "./definitions.json#/$defs/BuildDataFile"
4+
}

.vscode/schemas/definitions.json

Lines changed: 296 additions & 0 deletions
Large diffs are not rendered by default.

.vscode/schemas/project.data.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$ref": "./definitions.json#/$defs/ProjectDataFile"
4+
}

.vscode/settings.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
{
55
"fileMatch": ["**/*.dsc.resource.json"],
66
"url": "/schemas/v3/bundled/resource/manifest.vscode.json"
7+
},
8+
{
9+
"fileMatch": ["build.data.json"],
10+
"url": "./.vscode/schemas/build.data.json"
11+
},
12+
{
13+
"fileMatch": ["**/.project.data.json"],
14+
"url": "./.vscode/schemas/project.data.json"
715
}
816
],
917
"yaml.schemas": {
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"Name": "powershell-adapter",
3+
"Kind": "Adapter",
4+
"CopyFiles": {
5+
"All": [
6+
"psDscAdapter/powershell.resource.ps1",
7+
"psDscAdapter/psDscAdapter.psd1",
8+
"psDscAdapter/psDscAdapter.psm1",
9+
"powershell.dsc.resource.json"
10+
],
11+
"Windows": [
12+
"psDscAdapter/win_psDscAdapter.psd1",
13+
"psDscAdapter/win_psDscAdapter.psm1",
14+
"windowspowershell.dsc.resource.json"
15+
]
16+
}
17+
}

adapters/wmi/.project.data.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"Name": "wmi",
3+
"Kind": "Adapter",
4+
"SupportedPlatformOS": "Windows",
5+
"CopyFiles": {
6+
"Windows": [
7+
"wmi.resource.ps1",
8+
"wmiAdapter.psd1",
9+
"wmiAdapter.psm1",
10+
"wmi.dsc.resource.json"
11+
]
12+
}
13+
}

0 commit comments

Comments
 (0)