mirror of
https://github.com/space-wizards/RobustToolboxTemplate.git
synced 2026-02-10 16:24:49 -05:00
Opinionate the template, also some updates like the new build configs.
This commit is contained in:
parent
75a7ea8389
commit
4b84ff2033
16 changed files with 518 additions and 216 deletions
|
|
@ -1,5 +1,3 @@
|
|||
using Robust.Shared.IoC;
|
||||
|
||||
namespace Content.Client;
|
||||
|
||||
internal static class ClientContentIoC
|
||||
|
|
|
|||
|
|
@ -3,11 +3,15 @@
|
|||
<PropertyGroup>
|
||||
<!-- Work around https://github.com/dotnet/project-system/issues/4314 -->
|
||||
<TargetFramework>$(TargetFramework)</TargetFramework>
|
||||
<LangVersion>latest</LangVersion>
|
||||
<LangVersion>11</LangVersion>
|
||||
<IsPackable>false</IsPackable>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
<OutputPath>..\bin\Content.Client\</OutputPath>
|
||||
<OutputType Condition="'$(FullRelease)' != 'True'">Exe</OutputType>
|
||||
<WarningsAsErrors>nullable</WarningsAsErrors>
|
||||
<Nullable>enable</Nullable>
|
||||
<Configurations>Debug;Release;Tools;DebugOpt</Configurations>
|
||||
<Platforms>AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
<Import Project="..\RobustToolbox\MSBuild\Robust.DefineConstants.targets" />
|
||||
<ItemGroup>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
using Robust.Client;
|
||||
using Robust.Client.Graphics;
|
||||
using Robust.Shared.ContentPack;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Timing;
|
||||
|
||||
|
|
|
|||
10
Content.Client/GlobalUsings.cs
Normal file
10
Content.Client/GlobalUsings.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using Robust.Shared.Analyzers;
|
||||
global using Robust.Shared.Log;
|
||||
global using Robust.Shared.Localization;
|
||||
global using Robust.Shared.GameObjects;
|
||||
global using Robust.Shared.IoC;
|
||||
global using Robust.Shared.Maths;
|
||||
global using Robust.Shared.ViewVariables;
|
||||
global using Robust.Shared.Serialization.Manager.Attributes;
|
||||
Loading…
Add table
Add a link
Reference in a new issue