Skip to content

Commit

Permalink
Misc solution-level files update.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpjs committed Jun 1, 2022
1 parent 5ba6367 commit 008bcd9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
# Auto detect text files and perform LF normalization
* text=auto

# Visual Studio diff
# Show C# method names in diff chunk headers
*.cs diff=csharp
5 changes: 3 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
# https://help.github.com/en/actions/reference
#
# Copyright 2022 Jeffrey Sharp
#
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
Expand Down Expand Up @@ -92,6 +92,7 @@ jobs:
- name: Build
run: >
dotnet build --no-restore -c Release
-p:TreatWarningsAsErrors=true
-p:PackageOutputPath=${{ runner.temp }}/dist
- name: Test
Expand Down
8 changes: 2 additions & 6 deletions .root.targets
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.Build.NoTargets/3.3.0">
<Project Sdk="Microsoft.Build.NoTargets/3.5.0">
<!-- https://github.com/microsoft/MSBuildSdks/tree/master/src/NoTargets -->

<!--
Copyright 2021 Jeffrey Sharp
Copyright 2022 Jeffrey Sharp
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand All @@ -22,12 +22,8 @@
<EnableDefaultItems>false</EnableDefaultItems>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<SkipCopyBuildProduct>true</SkipCopyBuildProduct>
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
<IsPublishable>false</IsPublishable>
<IsPackable>false</IsPackable>
<SetGitHubActionsVersion>true</SetGitHubActionsVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@
<!-- Build properties -->
<PropertyGroup>
<LangVersion>10</LangVersion>
<ImplicitUsings>true</ImplicitUsings>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors Condition="'$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
</PropertyGroup>

<!-- Packaging properties -->
Expand Down
10 changes: 5 additions & 5 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@

<!-- Versioning -->
<ItemGroup>
<PackageReference Include="Subatomix.Build.Versioning.Semantic" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Subatomix.Build.Versioning.Semantic" Version="1.0.0" PrivateAssets="all" />
</ItemGroup>

<!-- <inheritdoc/> support -->
<ItemGroup>
<PackageReference Include="SauceControl.InheritDoc" Version="1.3.0" PrivateAssets="All" />
<PackageReference Include="SauceControl.InheritDoc" Version="1.3.0" PrivateAssets="all" />
</ItemGroup>

<!-- SourceLink https://github.com/dotnet/sourcelink/blob/master/README.md -->
<ItemGroup Condition="$(IsPackable)">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<!-- SourceLink https://github.com/dotnet/sourcelink/blob/main/README.md -->
<ItemGroup Condition="'$(IsPackable)' == 'true'">
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
</ItemGroup>

</Project>

0 comments on commit 008bcd9

Please sign in to comment.