-
Notifications
You must be signed in to change notification settings - Fork 36
/
Directory.Build.props
38 lines (35 loc) · 1.79 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<Project ToolsVersion="15.0">
<PropertyGroup>
<IsPackable>false</IsPackable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug-NoEmit'">
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)'=='Debug' Or '$(Configuration)'=='Release'">
<DefineConstants>$(DefineConstants);TYPESHAPE_EMIT</DefineConstants>
</PropertyGroup>
<!-- NuGet Metadata -->
<PropertyGroup>
<Description>Practical Generic Programming for F#</Description>
<Authors>Eirik Tsarpalis</Authors>
<Copyright>2019</Copyright>
<PackageTags>fsharp, f#, polytypic</PackageTags>
<RepositoryUrl>https://github.com/eiriktsarpalis/TypeShape</RepositoryUrl>
<PackageProjectUrl>https://github.com/eiriktsarpalis/TypeShape</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<!-- SourceLink Options -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
<!--<IncludeSymbols>true</IncludeSymbols>-->
<!--<SymbolPackageFormat>snupkg</SymbolPackageFormat>-->
</PropertyGroup>
<!-- P2P nuget inlining workaround: c.f. http://yer.ac/blog/2019/09/05/dotnet-pack-project-reference-and-nuget-dependency/ -->
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
</Project>