-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split projects into seperate repositories.
- Loading branch information
Showing
35 changed files
with
188 additions
and
138 deletions.
There are no files selected for viewing
26 changes: 0 additions & 26 deletions
26
HearthDb.CardIdGenerator/HearthStone.Database.CardIdGenerator.csproj
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
HearthDb.EnumsGenerator/HearthStone.Database.EnumsGenerator.csproj
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.27130.2027 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone Database CardIdGenerator", "HearthStone.Database.CardIdGenerator\HearthStone.Database.CardIdGenerator.csproj", "{963D32A8-D3D9-46F5-A25A-13642C7587AE}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F0CF94A4-F850-4166-9836-581BC23EE7B9}" | ||
ProjectSection(SolutionItems) = preProject | ||
.gitignore = .gitignore | ||
LICENSE = LICENSE | ||
README.md = README.md | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{963D32A8-D3D9-46F5-A25A-13642C7587AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{963D32A8-D3D9-46F5-A25A-13642C7587AE}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{963D32A8-D3D9-46F5-A25A-13642C7587AE}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{963D32A8-D3D9-46F5-A25A-13642C7587AE}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {F2DA2721-9AA4-4709-9E8C-B143D10B40D1} | ||
EndGlobalSection | ||
EndGlobal |
2 changes: 1 addition & 1 deletion
2
HearthDb.CardIdGenerator/CardSet.cs → ...Stone.Database.CardIdGenerator/CardSet.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace HearthDb.CardIdGenerator | ||
namespace HearthStone.Database.CardIdGenerator | ||
{ | ||
public enum CardSet | ||
{ | ||
|
28 changes: 28 additions & 0 deletions
28
HearthStone.Database.CardIdGenerator/HearthStone.Database.CardIdGenerator.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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net471</TargetFrameworks> | ||
<OutputType>Exe</OutputType> | ||
<StartupObject>HearthStone.Database.CardIdGenerator.Program</StartupObject> | ||
<RootNamespace>HearthStone.Database.CardIdGenerator</RootNamespace> | ||
<AssemblyName>HearthStone.Database.CardIdGenerator</AssemblyName> | ||
<Version>2.0.0</Version> | ||
<Description>HearthStone Database Card ID Generator</Description> | ||
<PackageTags>HearthStone Database Card ID Generator</PackageTags> | ||
<PackageReleaseNotes>Upgraded build configurations.</PackageReleaseNotes> | ||
<RepositoryType>GIT</RepositoryType> | ||
<RepositoryUrl>https://github.com/Latency/HearthStone.Database</RepositoryUrl> | ||
<Copyright>Copyright © HearthSim</Copyright> | ||
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl> | ||
<Company>HearthSim</Company> | ||
<Authors>HearthSim</Authors> | ||
<PackageIconUrl>https://raw.githubusercontent.com/HearthSim/Hearthstone-Deck-Tracker/master/Hearthstone%20Deck%20Tracker/Images/HearthstoneDeckTracker.ico</PackageIconUrl> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="HearthStone.Database" Version="10.0.1" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.6.1" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.6.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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,34 @@ | ||
#region | ||
|
||
using System.IO; | ||
using Microsoft.CodeAnalysis; | ||
using Microsoft.CodeAnalysis.CSharp; | ||
using Microsoft.CodeAnalysis.Formatting; | ||
using Microsoft.CodeAnalysis.MSBuild; | ||
|
||
#endregion | ||
|
||
namespace HearthStone.Database.CardIdGenerator | ||
{ | ||
internal class Program | ||
{ | ||
private const string File = "../../../../HearthStone.Database/CardIds.cs"; | ||
|
||
static void Main() | ||
{ | ||
var @namespace = SyntaxFactory.NamespaceDeclaration(SyntaxFactory.IdentifierName("HearthDb")); | ||
var header = SyntaxFactory.ParseLeadingTrivia(@"/* THIS CLASS WAS GENERATED BY HearthDb.CardIdGenerator. DO NOT EDIT. */"); | ||
var cCardIds = SyntaxFactory.ClassDeclaration("CardIds").AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)).WithLeadingTrivia(header); | ||
var cCollectible = SyntaxFactory.ClassDeclaration("Collectible").AddModifiers(SyntaxFactory.Token(SyntaxKind.PublicKeyword)); | ||
cCollectible = SyntaxBuilder.GetCollectible(cCollectible); | ||
var cNonCollectible = SyntaxBuilder.GetNonCollectible(); | ||
|
||
cCardIds = cCardIds.AddMembers(cCollectible); | ||
cCardIds = cCardIds.AddMembers(cNonCollectible); | ||
@namespace = @namespace.AddMembers(cCardIds); | ||
var root = Formatter.Format(@namespace, MSBuildWorkspace.Create()); | ||
using(var sr = new StreamWriter(File)) | ||
sr.Write(root.ToString()); | ||
} | ||
} | ||
} |
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,32 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.27130.2027 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HearthStone.Database.EnumsGenerator", "HearthStone.Database.EnumsGenerator\HearthStone.Database.EnumsGenerator.csproj", "{A521F60B-5A78-4679-AD70-B4DBF72AFCA3}" | ||
EndProject | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E88B4AA9-539D-4372-85B1-9F8F184B70FC}" | ||
ProjectSection(SolutionItems) = preProject | ||
.gitignore = .gitignore | ||
LICENSE = LICENSE | ||
README.md = README.md | ||
EndProjectSection | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{A521F60B-5A78-4679-AD70-B4DBF72AFCA3}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {79FF332E-F967-4C44-80D7-9969C8C9AA59} | ||
EndGlobalSection | ||
EndGlobal |
28 changes: 28 additions & 0 deletions
28
HearthStone.Database.EnumsGenerator/HearthStone.Database.EnumsGenerator.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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFrameworks>net471</TargetFrameworks> | ||
<OutputType>Exe</OutputType> | ||
<StartupObject>HearthStone.Database.EnumsGenerator.Program</StartupObject> | ||
<RootNamespace>HearthStone.Database.EnumsGenerator</RootNamespace> | ||
<AssemblyName>HearthStone.Database.EnumsGenerator</AssemblyName> | ||
<Version>2.0.0</Version> | ||
<Description>HearthStone Database Enums Generator</Description> | ||
<PackageTags>HearthStone Database Enums Generator</PackageTags> | ||
<PackageReleaseNotes>Upgraded build configurations.</PackageReleaseNotes> | ||
<RepositoryType>GIT</RepositoryType> | ||
<RepositoryUrl>https://github.com/Latency/HearthStone.Database</RepositoryUrl> | ||
<Copyright>Copyright © HearthSim</Copyright> | ||
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl> | ||
<Company>HearthSim</Company> | ||
<Authors>HearthSim</Authors> | ||
<PackageIconUrl>https://raw.githubusercontent.com/HearthSim/Hearthstone-Deck-Tracker/master/Hearthstone%20Deck%20Tracker/Images/HearthstoneDeckTracker.ico</PackageIconUrl> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="HearthStone.Database" Version="10.0.1" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis" Version="2.6.1" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="2.6.1" /> | ||
</ItemGroup> | ||
|
||
</Project> |
Oops, something went wrong.