-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use new(er) patches/config.json format
- Loading branch information
1 parent
6011993
commit 5fa1389
Showing
5 changed files
with
39 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
{ | ||
"title": "JSON schema for Electron patches/config.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"patternProperties": { | ||
"^src\/electron\/": { | ||
"type": "string", | ||
"description": "Maps patch directory to source tree directory", | ||
"minLength": 1, | ||
"pattern": "^(?:src|src\/.+[^\/])$" | ||
} | ||
}, | ||
"additionalProperties": false | ||
"description": "Maps patch directory to source tree directory", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"patch_dir": { | ||
"type": "string", | ||
"description": "Patch directory in the Electron source tree", | ||
"minLength": 1, | ||
"pattern": "^src\/electron\/" | ||
}, | ||
"repo": { | ||
"type": "string", | ||
"description": "Repository directory in the Chromium checkout", | ||
"minLength": 1, | ||
"pattern": "^(?:src|src\/.+[^\/])$" | ||
} | ||
}, | ||
"required": ["patch_dir", "repo"], | ||
"additionalProperties": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters