-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for customMetas and customDefines fields (#573)
* Add support for customMetas and customDefines fields * Move new documentation fields to 'documentation' object Also guard against previous haxe versions * Add metadata/define source * Update json schema * Check documentation fields * Rebuild run.n * Let maintainers add more documentation resources if they want * Revert "Let maintainers add more documentation resources if they want" This reverts commit cb7976c. * Typo * Rename Compiler metadata/defines functions * Rebuild run.n
- Loading branch information
Showing
16 changed files
with
231 additions
and
1 deletion.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[ | ||
{ | ||
"name": "Malformed define" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "BadDefineJson", | ||
"url" : "http://example.org", | ||
"license": "GPL", | ||
"tags": ["bar", "test"], | ||
"description": "This project is an example of an haxelib project", | ||
"version": "1.0.0", | ||
"releasenote": "Initial release, everything is working correctly", | ||
"documentation": { | ||
"defines": "doc/defines.json" | ||
}, | ||
"contributors": ["Bar"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
This is not a json file |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "BadMetaJson", | ||
"url" : "http://example.org", | ||
"license": "GPL", | ||
"tags": ["bar", "test"], | ||
"description": "This project is an example of an haxelib project", | ||
"version": "1.0.0", | ||
"releasenote": "Initial release, everything is working correctly", | ||
"documentation": { | ||
"metadata": "doc/meta.json" | ||
}, | ||
"contributors": ["Bar"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[ | ||
{ | ||
"name": "Malformed meta" | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "BadMetaJson2", | ||
"url" : "http://example.org", | ||
"license": "GPL", | ||
"tags": ["bar", "test"], | ||
"description": "This project is an example of an haxelib project", | ||
"version": "1.0.0", | ||
"releasenote": "Initial release, everything is working correctly", | ||
"documentation": { | ||
"metadata": "doc/meta.json" | ||
}, | ||
"contributors": ["Bar"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
{ | ||
"define": "test", | ||
"doc": "Test define" | ||
}, | ||
{ | ||
"define": "test2", | ||
"doc": "Test define 2", | ||
"platforms": ["eval"], | ||
"params": ["foo"], | ||
"links": ["https://example.com"] | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[ | ||
{ | ||
"metadata": ":test", | ||
"doc": "Some test metadata" | ||
}, | ||
{ | ||
"metadata": ":test2", | ||
"doc": "Some other test metadata", | ||
"platforms": ["eval"], | ||
"params": ["foo"], | ||
"links": ["https://example.com"], | ||
"targets": ["TClass", "TClassField"] | ||
} | ||
] |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"name": "DocumentationFiles", | ||
"url" : "http://example.org", | ||
"license": "GPL", | ||
"tags": ["bar", "test"], | ||
"description": "This project is an example of an haxelib project", | ||
"version": "1.0.0", | ||
"releasenote": "Initial release, everything is working correctly", | ||
"documentation": { | ||
"metadata": "doc/meta.json", | ||
"defines": "doc/defines.json" | ||
}, | ||
"contributors": ["Bar"] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"name": "MissingMetaJson", | ||
"url" : "http://example.org", | ||
"license": "GPL", | ||
"tags": ["bar", "test"], | ||
"description": "This project is an example of an haxelib project", | ||
"version": "1.0.0", | ||
"releasenote": "Initial release, everything is working correctly", | ||
"documentation": { | ||
"metadata": "doc/meta.json" | ||
}, | ||
"contributors": ["Bar"] | ||
} |
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