Skip to content

Commit 455c408

Browse files
committed
Merged PR 7944185: Add $schema to cgmanifest.json
See #23. Also adding a component registration for pyelftools, and updating the pipeline timeout for the 32-bit Linux build so that it doesn't time out. ### Why? A JSON schema helps you to ensure that your `cgmanifest.json` file is valid. JSON schema validation is a build-in feature in most modern IDEs like Visual Studio and Visual Studio Code. Most modern IDEs also provide code-completion for JSON schemas.
1 parent 832546a commit 455c408

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,4 @@ jobs:
292292
cxx: g++
293293
buildType: Release
294294
testInPrBuild: false
295-
timeoutInMinutes: 120
295+
timeoutInMinutes: 240

cgmanifest.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://json.schemastore.org/component-detection-manifest.json",
23
"Registrations": [
34
{
45
"Component": {
@@ -20,6 +21,16 @@
2021
}
2122
},
2223
"DevelopmentDependency": false
24+
},
25+
{
26+
"Component": {
27+
"Type": "pip",
28+
"Pip": {
29+
"Name": "pyelftools",
30+
"Version": "0.29"
31+
}
32+
},
33+
"DevelopmentDependency": true
2334
}
2435
]
2536
}

0 commit comments

Comments
 (0)