wip
This commit is contained in:
parent
57b0121445
commit
9929b2db36
30 changed files with 1318 additions and 0 deletions
19
.editorconfig
Normal file
19
.editorconfig
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
max_line_length = 120
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 2
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
file_header_template = Copyright (c) The Geekeey Authors\nSPDX-License-Identifier: EUPL-1.2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
indent_style = space
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_style = space
|
||||||
|
trim_trailing_whitespace = false
|
||||||
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
artifacts/
|
||||||
|
node_modules/
|
||||||
|
*.DotSettings.user
|
||||||
23
Directory.Build.props
Normal file
23
Directory.Build.props
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ArtifactsPath>$(MSBuildThisFileDirectory)artifacts</ArtifactsPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<AnalysisMode>Recommended</AnalysisMode>
|
||||||
|
<AnalysisLevel>latest</AnalysisLevel>
|
||||||
|
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
|
||||||
|
<WarningsAsErrors>nullable</WarningsAsErrors>
|
||||||
|
<TreatWarningsAsErrors Condition="'$(CI)' != ''">true</TreatWarningsAsErrors>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<NuGetAuditLevel>moderate</NuGetAuditLevel>
|
||||||
|
<NuGetAuditMode>all</NuGetAuditMode>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
2
Directory.Build.targets
Normal file
2
Directory.Build.targets
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
<Project>
|
||||||
|
</Project>
|
||||||
7
Directory.Packages.props
Normal file
7
Directory.Packages.props
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
5
arcade.slnx
Normal file
5
arcade.slnx
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<Solution>
|
||||||
|
<Project Path="src/sdk/Geekeey.Arcade.NET.Sdk.csproj" />
|
||||||
|
<Project Path="src/sdk/Geekeey.Arcade.NET.Sdk.Test.csproj" />
|
||||||
|
<Project Path="src/sdk/Geekeey.Arcade.NET.Sdk.Web.csproj" />
|
||||||
|
</Solution>
|
||||||
11
global.json
Normal file
11
global.json
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://www.schemastore.org/global.json",
|
||||||
|
"sdk": {
|
||||||
|
"version": "10.0.0",
|
||||||
|
"rollForward": "latestMinor"
|
||||||
|
},
|
||||||
|
"msbuild-sdks": {},
|
||||||
|
"test": {
|
||||||
|
"runner": "Microsoft.Testing.Platform"
|
||||||
|
}
|
||||||
|
}
|
||||||
17
src/sdk/Geekeey.Arcade.NET.Sdk.Test.csproj
Normal file
17
src/sdk/Geekeey.Arcade.NET.Sdk.Test.csproj
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<NoBuild>true</NoBuild>
|
||||||
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||||
|
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Test/Geekeey.Arcade.NET.Sdk.Test.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Test.editorconfig" />
|
||||||
|
<None Include="common/Common.props" Pack="true" PackagePath="common/Common.props" />
|
||||||
|
<None Include="common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
|
||||||
|
<None Include="configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
17
src/sdk/Geekeey.Arcade.NET.Sdk.Web.csproj
Normal file
17
src/sdk/Geekeey.Arcade.NET.Sdk.Web.csproj
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<NoBuild>true</NoBuild>
|
||||||
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||||
|
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.props" Pack="true" PackagePath="Sdk//Sdk.props" />
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk.Web/Geekeey.Arcade.NET.Sdk.Web.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.Web.editorconfig" />
|
||||||
|
<None Include="common/Common.props" Pack="true" PackagePath="common/Common.props" />
|
||||||
|
<None Include="common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
|
||||||
|
<None Include="configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
17
src/sdk/Geekeey.Arcade.NET.Sdk.csproj
Normal file
17
src/sdk/Geekeey.Arcade.NET.Sdk.csproj
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<NoBuild>true</NoBuild>
|
||||||
|
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||||
|
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk/Sdk.props" Pack="true" PackagePath="Sdk/Sdk.props" />
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk/Sdk.targets" Pack="true" PackagePath="Sdk/Sdk.targets" />
|
||||||
|
<None Include="Sdk/Geekeey.Arcade.NET.Sdk/Geekeey.Arcade.NET.Sdk.editorconfig" Pack="true" PackagePath="configuration/Geekeey.Arcade.NET.Sdk.editorconfig" />
|
||||||
|
<None Include="common/Common.props" Pack="true" PackagePath="common/Common.props" />
|
||||||
|
<None Include="common/Common.targets" Pack="true" PackagePath="common/Common.targets" />
|
||||||
|
<None Include="configuration/**/*" Pack="true" PackagePath="configuration/%(RecursiveDir)%(Filename)%(Extension)" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
1
src/sdk/README.md
Normal file
1
src/sdk/README.md
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
# Geekeey.Arcade.Sdk
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
# global_level must be higher than the base editorconfig files
|
||||||
|
is_global = true
|
||||||
|
global_level = 1
|
||||||
16
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.props
Normal file
16
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.props
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<UsingMicrosoftNETSdk Condition="'$(UsingMicrosoftNETSdk)' == ''">true</UsingMicrosoftNETSdk>
|
||||||
|
|
||||||
|
<CustomBeforeDirectoryBuildProps>$(CustomBeforeDirectoryBuildProps);$(MSBuildThisFileDirectory)../common/Common.props</CustomBeforeDirectoryBuildProps>
|
||||||
|
<BeforeMicrosoftNETSdkTargets>$(BeforeMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)/../common/Common.targets</BeforeMicrosoftNETSdkTargets>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" />
|
||||||
|
<Import Project="$(MSBuildThisFileDirectory)../common/Common.props" Condition="'$(UsingMicrosoftNETSdk)' != 'true'" />
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)../configuration/Geekeey.Arcade.NET.Sdk.Test.editorconfig" />
|
||||||
|
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)../configuration/Geekeey.Arcade.NET.FileBasedProgram.editorconfig" Condition="'$(FileBasedProgram)' == 'true'" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
3
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.targets
Normal file
3
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Test/Sdk.targets
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<Project>
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" />
|
||||||
|
</Project>
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
# global_level must be higher than the base editorconfig files
|
||||||
|
is_global = true
|
||||||
|
global_level = 1
|
||||||
16
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.props
Normal file
16
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.props
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<UsingMicrosoftNETSdk Condition="'$(UsingMicrosoftNETSdk)' == ''">true</UsingMicrosoftNETSdk>
|
||||||
|
|
||||||
|
<CustomBeforeDirectoryBuildProps>$(CustomBeforeDirectoryBuildProps);$(MSBuildThisFileDirectory)../common/Common.props</CustomBeforeDirectoryBuildProps>
|
||||||
|
<BeforeMicrosoftNETSdkTargets>$(BeforeMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)/../common/Common.targets</BeforeMicrosoftNETSdkTargets>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk.Web" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" />
|
||||||
|
<Import Project="$(MSBuildThisFileDirectory)../common/Common.props" Condition="'$(UsingMicrosoftNETSdk)' != 'true'" />
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)../configuration/Geekeey.Arcade.NET.Sdk.Web.editorconfig" />
|
||||||
|
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)../configuration/Geekeey.Arcade.NET.FileBasedProgram.editorconfig" Condition="'$(FileBasedProgram)' == 'true'" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
3
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.targets
Normal file
3
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk.Web/Sdk.targets
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<Project>
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk.Web" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" />
|
||||||
|
</Project>
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
# global_level must be higher than the base editorconfig files
|
||||||
|
is_global = true
|
||||||
|
global_level = 1
|
||||||
16
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk/Sdk.props
Normal file
16
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk/Sdk.props
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
<Project>
|
||||||
|
<PropertyGroup>
|
||||||
|
<UsingMicrosoftNETSdk Condition="'$(UsingMicrosoftNETSdk)' == ''">true</UsingMicrosoftNETSdk>
|
||||||
|
|
||||||
|
<CustomBeforeDirectoryBuildProps>$(CustomBeforeDirectoryBuildProps);$(MSBuildThisFileDirectory)../common/Common.props</CustomBeforeDirectoryBuildProps>
|
||||||
|
<BeforeMicrosoftNETSdkTargets>$(BeforeMicrosoftNETSdkTargets);$(MSBuildThisFileDirectory)/../common/Common.targets</BeforeMicrosoftNETSdkTargets>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<Import Project="Sdk.props" Sdk="Microsoft.NET.Sdk" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" />
|
||||||
|
<Import Project="$(MSBuildThisFileDirectory)../common/Common.props" Condition="'$(UsingMicrosoftNETSdk)' != 'true'" />
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)../configuration/Geekeey.Arcade.NET.Sdk.editorconfig" />
|
||||||
|
<EditorConfigFiles Include="$(MSBuildThisFileDirectory)../configuration/Geekeey.Arcade.NET.FileBasedProgram.editorconfig" Condition="'$(FileBasedProgram)' == 'true'" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
3
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk/Sdk.targets
Normal file
3
src/sdk/Sdk/Geekeey.Arcade.NET.Sdk/Sdk.targets
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
<Project>
|
||||||
|
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" Condition="'$(UsingMicrosoftNETSdk)' == 'true'" />
|
||||||
|
</Project>
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue