-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moving old projects to new layout, #26
- Loading branch information
1 parent
a3954e3
commit 1e59cbf
Showing
55 changed files
with
168 additions
and
167 deletions.
There are no files selected for viewing
File renamed without changes.
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
6 changes: 3 additions & 3 deletions
6
Camille.Test/ApiChampionMasteryV4Test.cs → ....RiotApi.Test/ApiChampionMasteryV4Test.cs
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
6 changes: 3 additions & 3 deletions
6
Camille.Test/ApiChampionTest.cs → Camille.RiotApi.Test/ApiChampionTest.cs
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
6 changes: 3 additions & 3 deletions
6
Camille.Test/ApiLeagueV4Test.cs → Camille.RiotApi.Test/ApiLeagueV4Test.cs
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
6 changes: 3 additions & 3 deletions
6
Camille.Test/ApiMatchListV4Test.cs → Camille.RiotApi.Test/ApiMatchListV4Test.cs
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
6 changes: 3 additions & 3 deletions
6
Camille.Test/ApiSummonerTest.cs → Camille.RiotApi.Test/ApiSummonerTest.cs
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
using System.IO; | ||
|
||
namespace MingweiSamuel.Camille.Test | ||
namespace Camille.RiotApi.Test | ||
{ | ||
public class ApiTest | ||
{ | ||
|
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
4 changes: 2 additions & 2 deletions
4
Camille.Test/ChampionTest.cs → Camille.RiotApi.Test/ChampionTest.cs
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
File renamed without changes.
178 changes: 89 additions & 89 deletions
178
Camille/Camille.csproj → Camille.RiotApi/Camille.RiotApi.csproj
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,89 +1,89 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard1.1;net45;netcoreapp2.0;netstandard2.1;netcoreapp3.0;netcoreapp3.1</TargetFrameworks> | ||
<LangVersion>8.0</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<PackageId>MingweiSamuel.Camille</PackageId> | ||
<RootNamespace>MingweiSamuel.Camille</RootNamespace> | ||
<Version>3.0.0</Version> | ||
<Authors>MingweiSamuel</Authors> | ||
<Company>MingweiSamuel</Company> | ||
<PackageLicenseUrl>https://www.gnu.org/licenses/gpl-3.0.txt</PackageLicenseUrl> | ||
<Copyright>LGPLv3 2019</Copyright> | ||
<PackageProjectUrl>https://github.com/MingweiSamuel/Camille</PackageProjectUrl> | ||
<PackageIconUrl>http://ddragon.leagueoflegends.com/cdn/8.24.1/img/champion/Camille.png</PackageIconUrl> | ||
<RepositoryUrl>https://github.com/MingweiSamuel/Camille</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<Description>Riot Games API library. Fully rate limited, automatic retrying, thread-safe. V4 Supported.</Description> | ||
<Summary>Riot Games API library. Fully rate limited, automatic retrying, thread-safe. V4 Supported.</Summary> | ||
<PackageTags>riot games api league of legends camille riotsharp</PackageTags> | ||
<PackageReleaseNotes>Updates for v4 leagues</PackageReleaseNotes> | ||
<FileVersion>1.0.0.0</FileVersion> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<GenDir>gen</GenDir> | ||
</PropertyGroup> | ||
|
||
<!-- Camille using Newtonsoft.Json. --> | ||
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'netcoreapp2.0' Or '$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<DefineConstants>$(DefineConstants);USE_NEWTONSOFT</DefineConstants> | ||
</PropertyGroup> | ||
<!-- Camille using System.Text.Json. --> | ||
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == 'netcoreapp3.1'"> | ||
<DefineConstants>$(DefineConstants);USE_SYSTEXTJSON</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<!-- Newtonsoft & Nullable attributes from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'netcoreapp2.0' Or '$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" /> | ||
<PackageReference Include="Nullable" Version="1.1.0"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
<!-- System.Net.Http from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45'"> | ||
<PackageReference Include="System.Net.Http" Version="4.3.3" /> | ||
</ItemGroup> | ||
<!-- System.Text.Json from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> | ||
<PackageReference Include="System.Text.Json" Version="4.6.0" /> | ||
</ItemGroup> | ||
<!-- System.ComponentModel.DataAnnotations from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'netstandard2.1'"> | ||
<PackageReference Include="System.ComponentModel.Annotations" Version="4.6.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MingweiSamuel.TokenBucket" Version="1.0.1" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" /> | ||
</ItemGroup> | ||
|
||
<Target Name="DownloadTemplateData"> | ||
<DownloadFile SourceUrl="http://www.mingweisamuel.com/riotapi-schema/openapi-3.0.0.json" DestinationFolder="$(GenDir)" DestinationFileName=".spec.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://raw.communitydragon.org/pbe/plugins/rcp-be-lol-game-data/global/default/v1/champion-summary.json" DestinationFolder="$(GenDir)" DestinationFileName=".champion.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/seasons.json" DestinationFolder="$(GenDir)" DestinationFileName=".seasons.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/queues.json" DestinationFolder="$(GenDir)" DestinationFileName=".queues.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/maps.json" DestinationFolder="$(GenDir)" DestinationFileName=".maps.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/gameModes.json" DestinationFolder="$(GenDir)" DestinationFileName=".gameModes.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/gameTypes.json" DestinationFolder="$(GenDir)" DestinationFileName=".gameTypes.json" ContinueOnError="true" /> | ||
</Target> | ||
|
||
<!-- On Windows DispatchToInnerBuilds is run due to multiple TargetFrameworks. --> | ||
<Target Name="BuildTemplates" BeforeTargets="DispatchToInnerBuilds" DependsOnTargets="DownloadTemplateData"> | ||
<Exec WorkingDirectory="$(GenDir)" Command="node index.js" /> | ||
</Target> | ||
<!-- On Unix/OSX DispatchToInnerBuilds is not run so we use GenerateTargetFrameworkMonikerAttribute. --> | ||
<Target Name="BuildTemplatesUnix" BeforeTargets="GenerateTargetFrameworkMonikerAttribute" DependsOnTargets="BuildTemplates" Condition="$(OS) == 'Unix'"> | ||
<Message Text="Building templates on unix." /> | ||
</Target> | ||
|
||
<Target Name="EchoEnviornment" BeforeTargets="Build"> | ||
<Message Text="$(TargetFramework) $(OS)" /> | ||
</Target> | ||
</Project> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFrameworks>netstandard1.1;net45;netcoreapp2.0;netstandard2.1;netcoreapp3.0;netcoreapp3.1</TargetFrameworks> | ||
<LangVersion>8.0</LangVersion> | ||
<Nullable>enable</Nullable> | ||
<PackageId>Camille.RiotApi</PackageId> | ||
<RootNamespace>Camille.RiotApi</RootNamespace> | ||
<Version>3.0.0</Version> | ||
<Authors>MingweiSamuel</Authors> | ||
<Company>MingweiSamuel</Company> | ||
<PackageLicenseUrl>https://www.gnu.org/licenses/gpl-3.0.txt</PackageLicenseUrl> | ||
<Copyright>LGPLv3 2019</Copyright> | ||
<PackageProjectUrl>https://github.com/MingweiSamuel/Camille</PackageProjectUrl> | ||
<PackageIconUrl>http://ddragon.leagueoflegends.com/cdn/8.24.1/img/champion/Camille.png</PackageIconUrl> | ||
<RepositoryUrl>https://github.com/MingweiSamuel/Camille</RepositoryUrl> | ||
<RepositoryType>git</RepositoryType> | ||
<Description>Riot Games API library. Fully rate limited, automatic retrying, thread-safe. V4 Supported.</Description> | ||
<Summary>Riot Games API library. Fully rate limited, automatic retrying, thread-safe. V4 Supported.</Summary> | ||
<PackageTags>riot games api league of legends camille riotsharp</PackageTags> | ||
<PackageReleaseNotes>Updates for v4 leagues</PackageReleaseNotes> | ||
<FileVersion>1.0.0.0</FileVersion> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<GenDir>gen</GenDir> | ||
</PropertyGroup> | ||
|
||
<!-- Camille using Newtonsoft.Json. --> | ||
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'netcoreapp2.0' Or '$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<DefineConstants>$(DefineConstants);USE_NEWTONSOFT</DefineConstants> | ||
</PropertyGroup> | ||
<!-- Camille using System.Text.Json. --> | ||
<PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.1' Or '$(TargetFramework)' == 'netcoreapp3.1'"> | ||
<DefineConstants>$(DefineConstants);USE_SYSTEXTJSON</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<!-- Newtonsoft & Nullable attributes from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'netcoreapp2.0' Or '$(TargetFramework)' == 'netcoreapp3.0'"> | ||
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" /> | ||
<PackageReference Include="Nullable" Version="1.1.0"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
</ItemGroup> | ||
<!-- System.Net.Http from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45'"> | ||
<PackageReference Include="System.Net.Http" Version="4.3.3" /> | ||
</ItemGroup> | ||
<!-- System.Text.Json from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'"> | ||
<PackageReference Include="System.Text.Json" Version="4.6.0" /> | ||
</ItemGroup> | ||
<!-- System.ComponentModel.DataAnnotations from Nuget. --> | ||
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard1.1' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'netstandard2.1'"> | ||
<PackageReference Include="System.ComponentModel.Annotations" Version="4.6.0" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="MingweiSamuel.TokenBucket" Version="1.0.1" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" /> | ||
</ItemGroup> | ||
|
||
<Target Name="DownloadTemplateData"> | ||
<DownloadFile SourceUrl="http://www.mingweisamuel.com/riotapi-schema/openapi-3.0.0.json" DestinationFolder="$(GenDir)" DestinationFileName=".spec.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://raw.communitydragon.org/pbe/plugins/rcp-be-lol-game-data/global/default/v1/champion-summary.json" DestinationFolder="$(GenDir)" DestinationFileName=".champion.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/seasons.json" DestinationFolder="$(GenDir)" DestinationFileName=".seasons.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/queues.json" DestinationFolder="$(GenDir)" DestinationFileName=".queues.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/maps.json" DestinationFolder="$(GenDir)" DestinationFileName=".maps.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/gameModes.json" DestinationFolder="$(GenDir)" DestinationFileName=".gameModes.json" ContinueOnError="true" /> | ||
<DownloadFile SourceUrl="http://static.developer.riotgames.com/docs/lol/gameTypes.json" DestinationFolder="$(GenDir)" DestinationFileName=".gameTypes.json" ContinueOnError="true" /> | ||
</Target> | ||
|
||
<!-- On Windows DispatchToInnerBuilds is run due to multiple TargetFrameworks. --> | ||
<Target Name="BuildTemplates" BeforeTargets="DispatchToInnerBuilds" DependsOnTargets="DownloadTemplateData"> | ||
<Exec WorkingDirectory="$(GenDir)" Command="node index.js" /> | ||
</Target> | ||
<!-- On Unix/OSX DispatchToInnerBuilds is not run so we use GenerateTargetFrameworkMonikerAttribute. --> | ||
<Target Name="BuildTemplatesUnix" BeforeTargets="GenerateTargetFrameworkMonikerAttribute" DependsOnTargets="BuildTemplates" Condition="$(OS) == 'Unix'"> | ||
<Message Text="Building templates on unix." /> | ||
</Target> | ||
|
||
<Target Name="EchoEnviornment" BeforeTargets="Build"> | ||
<Message Text="$(TargetFramework) $(OS)" /> | ||
</Target> | ||
</Project> |
File renamed without changes.
File renamed without changes.
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
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
Oops, something went wrong.