-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
99 lines (72 loc) · 3.97 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<Project>
<PropertyGroup>
<Configurations>Debug;Release</Configurations>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<PlatformTarget Condition=" '$(PlatformTarget)' == '' ">AnyCPU</PlatformTarget>
<!--<GeneratePackageOnBuild>True</GeneratePackageOnBuild>-->
<DebugSymbols>true</DebugSymbols>
<EmbedAllSources>true</EmbedAllSources>
<DebugType>portable</DebugType>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<VersionPrefix>7.0.0</VersionPrefix>
<VersionSuffix>alpha</VersionSuffix>
<Authors>Jared Thirsk</Authors>
<Copyright>2010-2023 Jared Thirsk</Copyright>
<Company>LionFire Games</Company>
<RepositoryUrl>https://github.com/lionfire/Core</RepositoryUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<!-- <PackageIcon>19334699.png</PackageIcon> -->
<EnableSourceControlManagerQueries>true</EnableSourceControlManagerQueries>
<DefaultItemExcludes>$(MSBuildProjectDirectory)/bin/**;$(MSBuildProjectDirectory)/obj/**</DefaultItemExcludes>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
</PropertyGroup>
<PropertyGroup>
<!--<BaseIntermediateOutputPath>$(MSBuildThisFileDirectory)..\bin\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<BaseOutputPath Condition=" '$(BaseOutputPath)' == '' ">$(MSBuildThisFileDirectory)..\bin\$(MSBuildProjectName)\</BaseOutputPath>-->
<BaseIntermediateOutputPath>$(BuildRoot)\obj\$(Configuration)\$(PlatformTarget)\$(MSBuildProjectName)\</BaseIntermediateOutputPath>
<BaseOutputPath>$(BuildRoot)\bin\$(Configuration)\$(PlatformTarget)\$(MSBuildProjectName)\</BaseOutputPath>
<!--<OutputPath>$(BaseOutputPath)</OutputPath>-->
<!--<MSBuildProjectExtensionsPath>$(BuildRoot)\obj-buildext\$(Configuration)\$(Platform)\$(MSBuildProjectName)\</MSBuildProjectExtensionsPath>-->
<!--<MSBuildProjectExtensionsPath>z:\build\obj\$(MSBuildProjectName)\</MSBuildProjectExtensionsPath>-->
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<!--<PackageOutputDir>g:\build\packages\lionfire</PackageOutputDir>-->
<!-- <NeutralLanguage>English (United States)</NeutralLanguage> -->
<LangVersion>latest</LangVersion>
<UseFullSemVerForNuGet>false</UseFullSemVerForNuGet>
</PropertyGroup>
<ItemGroup>
<Compile Remove="obj\**" />
<EmbeddedResource Remove="obj\**" />
<None Remove="obj\**" />
</ItemGroup>
<ItemGroup>
<Compile Remove="bin\**" />
<EmbeddedResource Remove="bin\**" />
<None Remove="bin\**" />
</ItemGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Debug'">
<BumpLabel>dev</BumpLabel>
<BumpLabelDigits>4</BumpLabelDigits>
<!-- <GeneratePackageOnBuild>True</GeneratePackageOnBuild> -->
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)'=='Release'">
<BumpRevision>True</BumpRevision>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
</PropertyGroup>
<!-- <Target Name="CopyPackage" AfterTargets="Pack">
<Copy SourceFiles="$(OutputPath)..\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="c:\\src\packages\\" />
</Target> -->
<!-- <Target Name="CopyPackage" AfterTargets="Pack">
<Copy SourceFiles="$(OutputPath)\..\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="c:\\src\packages\\" />
</Target> -->
<!--<Target Name="CopyPackage" AfterTargets="Pack">
<Copy SourceFiles="$(OutputPath)\..\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="c:\\src\packages\\" ContinueOnError="true"/>
<Copy SourceFiles="$(OutputPath)\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="c:\\src\packages\\" ContinueOnError="true"/>
</Target>-->
<Target Name="AfterPack" AfterTargets="Pack">
<Exec Command="dotnet nuget push $(PackageOutputPath)*.nupkg --source LionFireLocal" />
<Exec Command="dotnet nuget push $(PackageOutputPath)*.snupkg --source LionFireLocal" />
</Target>
</Project>