Skip to content

Commit

Permalink
Re-do the build infrastructure (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tratcher committed Mar 25, 2022
1 parent b32c437 commit dbe159e
Show file tree
Hide file tree
Showing 467 changed files with 12,284 additions and 25,483 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -20,3 +20,5 @@ node_modules
.nuget/NuGet.exe
docs/build
.vs
.dotnet
.packages
15 changes: 0 additions & 15 deletions .nuget/NuGet.Config

This file was deleted.

5 changes: 0 additions & 5 deletions BuildServer.targets

This file was deleted.

12 changes: 12 additions & 0 deletions CredScanSuppressions.json
@@ -0,0 +1,12 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"_justification": "Legitimate key/cert used for testing",
"file": [
"tests/Microsoft.Owin.Host.HttpListener.Tests/HttpsServerTestCertificate.pfx",
"tests/Microsoft.Owin.Host.IntegrationTests/SelfSignedClientCert.pfx"
]
}
]
}
25 changes: 25 additions & 0 deletions Directory.Build.props
@@ -0,0 +1,25 @@
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />

<PropertyGroup>
<Copyright>$(CopyrightMicrosoft)</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<TreatWarningsAsErrors>True</TreatWarningsAsErrors>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<LangVersion>Latest</LangVersion>
<IsShipping>true</IsShipping>
<PackageTags>Microsoft OWIN Katana</PackageTags>
<DefaultNetFxTargetFramework>net4.5</DefaultNetFxTargetFramework>
<DefaultNetFxTestTargetFramework>net4.5.2</DefaultNetFxTestTargetFramework>
</PropertyGroup>

<PropertyGroup Condition="'$(DotNetBuildOffline)' == 'true'">
<!--
Arcade has a special version prop for CodeAnalysis.CSharp in GenFacades
to try to match the version loaded by msbuild. In the offline build, this
is simply the source-built version.
-->
<MsbuildTaskMicrosoftCodeAnalysisCSharpVersion>$(MicrosoftCodeAnalysisCSharpVersion)</MsbuildTaskMicrosoftCodeAnalysisCSharpVersion>
</PropertyGroup>
</Project>
3 changes: 3 additions & 0 deletions Directory.Build.targets
@@ -0,0 +1,3 @@
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
</Project>
193 changes: 80 additions & 113 deletions Katana.sln

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions LICENSE.txt
@@ -1,3 +1,4 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -186,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright (c) .NET Foundation and Contributors
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand All @@ -198,4 +199,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
14 changes: 14 additions & 0 deletions NuGet.Config
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<!-- Feed to use to restore the Arcade SDK from -->
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<!-- Feeds to use to restore dependent packages from -->
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>

0 comments on commit dbe159e

Please sign in to comment.