Skip to content

Commit

Permalink
Tests and examples updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ky-one committed Dec 18, 2020
1 parent 251f677 commit f776acc
Show file tree
Hide file tree
Showing 20 changed files with 39 additions and 31 deletions.
4 changes: 2 additions & 2 deletions Examples/Angular/ModelFromAssembly/ModelFromAssembly.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion Examples/Angular/ModelFromAssembly/Output/another-type.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated with KY.Generator 6.1.0.0
// This code was generated with KY.Generator 6.2.0.0
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
Expand Down
2 changes: 1 addition & 1 deletion Examples/Angular/ModelFromAssembly/Output/type-to-read.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated with KY.Generator 6.1.0.0
// This code was generated with KY.Generator 6.2.0.0
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated with KY.Generator 6.1.0.0
// This code was generated with KY.Generator 6.2.0.0
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated with KY.Generator 6.1.0.0
// This code was generated with KY.Generator 6.2.0.0
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.7" />
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated with KY.Generator 6.1.0.0
// This code was generated with KY.Generator 6.2.0.0
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated with KY.Generator 6.1.0.0
// This code was generated with KY.Generator 6.2.0.0
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated with KY.Generator 6.1.0.0
// This code was generated with KY.Generator 6.2.0.0
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.7" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator.Angular" Version="6.2.0-rc.1" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Angular" Version="6.2.0" />
<PackageReference Include="KY.Generator.AspDotNet" Version="6.2.0-rc.1" />
<PackageReference Include="KY.Generator.Fluent" Version="6.2.0-rc.1" />
<PackageReference Include="KY.Generator.Fluent" Version="6.2.0" />
<PackageReference Include="KY.Generator.Reflection" Version="6.2.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Angular" Version="6.2.0" />
<PackageReference Include="KY.Generator.Fluent" Version="6.2.0" />
<PackageReference Include="KY.Generator.Reflection" Version="6.2.0" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="5.0.1" />
</ItemGroup>

Expand Down
4 changes: 2 additions & 2 deletions Tests/AnnotationAsync/AnnotationAsync.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Tests/AnnotationAsyncAssembly/AnnotationAsyncAssembly.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Tests/AnnotationInNestedClass/AnnotationInNestedClass.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
</ItemGroup>

</Project>
8 changes: 4 additions & 4 deletions Tests/Fluent/Fluent.Generator/Fluent.Generator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0-preview.0" />
<PackageReference Include="KY.Generator.Angular" Version="6.1.0-preview.0" />
<PackageReference Include="KY.Generator.Fluent" Version="6.1.0-preview.0" />
<PackageReference Include="KY.Generator.Reflection" Version="6.1.0-preview.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Angular" Version="6.2.0" />
<PackageReference Include="KY.Generator.Fluent" Version="6.2.0" />
<PackageReference Include="KY.Generator.Reflection" Version="6.2.0" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions Tests/Types/Types.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions Tests/WebApiController/WebApiController.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

<ItemGroup>
<PackageReference Include="KY.Core.Common" Version="4.14.0" />
<PackageReference Include="KY.Generator" Version="6.1.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.1.0" />
<PackageReference Include="KY.Generator" Version="6.2.0" />
<PackageReference Include="KY.Generator.Annotations" Version="6.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="4.1.1" />
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.7" />
</ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions Tests/build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ rmdir /S/Q bin
rmdir /S/Q Output
dotnet add package KY.Generator --prerelease
dotnet add package KY.Generator.Fluent --prerelease
dotnet add package KY.Generator.Angular --prerelease
dotnet add package KY.Generator.Reflection --prerelease
dotnet build --no-incremental
cd ..\..

Expand Down

0 comments on commit f776acc

Please sign in to comment.