-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to Corvus.JsonSchema 4 (#1081)
- Upgraded dependencies to their latest version - Upgraded to Corvus.Json 4 - Switched to using a source generator for the schema parser/validator
- Loading branch information
Showing
18 changed files
with
267 additions
and
207 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
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 |
---|---|---|
|
@@ -92,10 +92,6 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Build schema | ||
run: | | ||
.\scripts\Generate-SourceFromSchema.ps1 | ||
- name: Build | ||
run: | | ||
msbuild Whim.sln ` | ||
|
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 |
---|---|---|
|
@@ -57,9 +57,19 @@ jobs: | |
run: | | ||
dotnet tool restore | ||
- name: Build schema | ||
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Build | ||
run: | | ||
.\scripts\Generate-SourceFromSchema.ps1 | ||
msbuild Whim.sln ` | ||
-p:Configuration=$env:Configuration ` | ||
-p:Platform=$env:Platform ` | ||
-p:BuildInParallel=true ` | ||
-maxCpuCount | ||
- name: Run docfx metadata | ||
run: dotnet docfx metadata .\docs\docfx.json | ||
|
||
- name: Run docfx | ||
run: dotnet docfx .\docs\docfx.json |
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 |
---|---|---|
|
@@ -100,10 +100,6 @@ jobs: | |
- name: Add msbuild to PATH | ||
uses: microsoft/[email protected] | ||
|
||
- name: Build schema | ||
run: | | ||
.\scripts\Generate-SourceFromSchema.ps1 | ||
- name: Build | ||
run: | | ||
msbuild Whim.sln ` | ||
|
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 |
---|---|---|
|
@@ -361,6 +361,3 @@ bin/whim-install.exe | |
# docfx | ||
api | ||
_site | ||
|
||
# Whim.Yaml generated files | ||
src/Whim.Yaml/Generated/ |
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 was deleted.
Oops, something went wrong.
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,6 @@ | ||
using Corvus.Json; | ||
|
||
namespace Whim.Yaml; | ||
|
||
[JsonSchemaTypeGenerator("./schema.json")] | ||
public readonly partial struct Schema { } |
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
Oops, something went wrong.