Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source Generator Hack - Write to disk instead of the syntax tree #102

Merged
merged 15 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: 🛠️ Build
run: dotnet build src/Refitter.sln -c Release -p:UseSourceLink=true -p:PackageVersion="${{ env.VERSION }}"
- name: 🧪 Test
run: dotnet test src/Refitter.Tests/Refitter.Tests.csproj --no-build --no-restore -c Release
run: dotnet test src/Refitter.sln -c Release
- name: 🗳️ Upload
uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,3 @@ test/**/*Uspto.cs
test/**/*Ingram-micro.cs
test/**/*Hubspot*.cs
*.lutconfig
src/Refitter.SourceGenerators.Tests/Generated
src/Refitter.SourceGenerator.Tests/Generated
9 changes: 9 additions & 0 deletions src/Refitter.SourceGenerator.Tests/AdditionalFiles/.refitter
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"openApiPath": "../Resources/V3/SwaggerPetstore.json",
"namespace": "Refitter.Tests.AdditionalFiles.NoFilename",
"naming": {
"useOpenApiTitle": false,
"interfaceName": "SwaggerPetstore",
"filename": "SwaggerPetstore"
}
}
Loading