Add root template .csproj

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
iiSaLMaN
2019-11-04 15:50:48 +03:00
parent 4229bf789a
commit f99a9a9d1d
3 changed files with 28 additions and 22 deletions

View File

@@ -25,7 +25,7 @@ var frameworkProject = rootDirectory.CombineWithFilePath("osu.Framework/osu.Fram
var iosFrameworkProject = rootDirectory.CombineWithFilePath("osu.Framework.iOS/osu.Framework.iOS.csproj");
var androidFrameworkProject = rootDirectory.CombineWithFilePath("osu.Framework.Android/osu.Framework.Android.csproj");
var nativeLibsProject = rootDirectory.CombineWithFilePath("osu.Framework.NativeLibs/osu.Framework.NativeLibs.csproj");
var templateProject = rootDirectory.CombineWithFilePath("template-game/TemplateGame.Game/TemplateGame.Game.csproj");
var templateProject = rootDirectory.CombineWithFilePath("template-game/osu.Framework.Template.csproj");
///////////////////////////////////////////////////////////////////////////////
// Setup

View File

@@ -2,27 +2,6 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Label="NuGet">
<Title>osu!framework game template</Title>
<Product>osu!framework game template</Product>
<Authors>ppy Pty Ltd</Authors>
<Company>ppy Pty Ltd</Company>
<Description>Template to use when creating a game powered by osu!framework.</Description>
<PackageId>ppy.osu.Framework.Templates</PackageId>
<PackageType>Template</PackageType>
<PackageReleaseNotes>Automated release.</PackageReleaseNotes>
<PackageTags>osu game template framework</PackageTags>
<Copyright>Copyright (c) 2019 ppy Pty Ltd</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ppy/osu-framework/tree/master/template-game</PackageProjectUrl>
<RepositoryUrl>https://github.com/ppy/osu-framework/tree/master/template-game</RepositoryUrl>
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<ContentTargetFolders>content</ContentTargetFolders>
</PropertyGroup>
<ItemGroup>
<Content Include="..\**\*" Exclude="..\**\bin\**;..\**\obj\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ppy.osu.Framework" Version="2019.1011.0" />
</ItemGroup>

View File

@@ -0,0 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Label="NuGet">
<Title>osu!framework game template</Title>
<Product>osu!framework game template</Product>
<Authors>ppy Pty Ltd</Authors>
<Company>ppy Pty Ltd</Company>
<Description>Template to use when creating a game powered by osu!framework.</Description>
<PackageId>ppy.osu.Framework.Templates</PackageId>
<PackageType>Template</PackageType>
<PackageReleaseNotes>Automated release.</PackageReleaseNotes>
<PackageTags>osu game template framework</PackageTags>
<Copyright>Copyright (c) 2019 ppy Pty Ltd</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/ppy/osu-framework/tree/master/template-game</PackageProjectUrl>
<RepositoryUrl>https://github.com/ppy/osu-framework/tree/master/template-game</RepositoryUrl>
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<ContentTargetFolders>templates</ContentTargetFolders>
</PropertyGroup>
<ItemGroup>
<Content Include=".template.config\*;app.manifest;Directory.Build.props;TemplateGame*.*;TemplateGame*\**\*" Exclude="**\bin\**;**\obj\**" />
<Compile Remove="**\*" />
</ItemGroup>
</Project>