-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable NuGetPack module if AlternatePack is being used.
- Loading branch information
Showing
3 changed files
with
39 additions
and
33 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/Buildvana.Sdk/Modules/NuGetPack/Module.Core.PackableProject.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<!-- Put packages in artifacts folder. --> | ||
<PackageOutputPath>$(ArtifactsDirectory)$(Configuration)\</PackageOutputPath> | ||
<!-- Make Owners default to Authors. --> | ||
<Owners Condition="'$(Owners)' == ''">$(Authors)</Owners> | ||
</PropertyGroup> | ||
|
||
<Import Project="Readme.targets" /> | ||
<Import Project="License.targets" /> | ||
<Import Project="ThirdPartyNotices.targets" /> | ||
<Import Project="PackageIcon.targets" /> | ||
|
||
<!-- Coalesce PackageRequireLicenseAcceptance to a boolean value. Default is false. --> | ||
<PropertyGroup> | ||
<PackageRequireLicenseAcceptance Condition="'$(LicensePackageExpression)' == '' And !$(LicenseFileInPackage)">false</PackageRequireLicenseAcceptance> | ||
<PackageRequireLicenseAcceptance Condition="'$(PackageRequireLicenseAcceptance)' != 'true'">false</PackageRequireLicenseAcceptance> | ||
</PropertyGroup> | ||
|
||
<!-- Coalesce other properties. --> | ||
<PropertyGroup> | ||
<DevelopmentDependency Condition="'$(DevelopmentDependency)' != 'true'">false</DevelopmentDependency> | ||
<PackageType Condition="'$(PackageType)' == ''">Dependency</PackageType> | ||
<Serviceable Condition="'$(Serviceable)' != 'false'">true</Serviceable> | ||
</PropertyGroup> | ||
|
||
<Import Project="NuspecFile.targets" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,14 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<!-- Put packages in artifacts folder. --> | ||
<PackageOutputPath>$(ArtifactsDirectory)$(Configuration)\</PackageOutputPath> | ||
<!-- Make Owners default to Authors. --> | ||
<Owners Condition="'$(Owners)' == ''">$(Authors)</Owners> | ||
<!-- IsPackable default = true for libraries, otherwise false. --> | ||
<PropertyGroup Condition="'$(IsPackable)' == ''"> | ||
<IsPackable Condition="'$(BV_IsLibraryProject)' == 'true'">true</IsPackable> | ||
</PropertyGroup> | ||
|
||
<Import Project="Readme.targets" /> | ||
<Import Project="License.targets" /> | ||
<Import Project="ThirdPartyNotices.targets" /> | ||
<Import Project="PackageIcon.targets" /> | ||
|
||
<!-- Coalesce PackageRequireLicenseAcceptance to a boolean value. Default is false. --> | ||
<PropertyGroup> | ||
<PackageRequireLicenseAcceptance Condition="'$(LicensePackageExpression)' == '' And !$(LicenseFileInPackage)">false</PackageRequireLicenseAcceptance> | ||
<PackageRequireLicenseAcceptance Condition="'$(PackageRequireLicenseAcceptance)' != 'true'">false</PackageRequireLicenseAcceptance> | ||
<PropertyGroup Condition="'$(IsPackable)' != 'true'"> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<!-- Coalesce other properties. --> | ||
<PropertyGroup> | ||
<DevelopmentDependency Condition="'$(DevelopmentDependency)' != 'true'">false</DevelopmentDependency> | ||
<PackageType Condition="'$(PackageType)' == ''">Dependency</PackageType> | ||
<Serviceable Condition="'$(Serviceable)' != 'false'">true</Serviceable> | ||
</PropertyGroup> | ||
|
||
<Import Project="NuspecFile.targets" /> | ||
|
||
<Import Project="$(MSBuildThisFileDirectory)Module.Core.PackableProject.targets" | ||
Condition="$(IsPackable)" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
<Project> | ||
|
||
<!-- IsPackable default = true for libraries, otherwise false. --> | ||
<PropertyGroup Condition="'$(IsPackable)' == ''"> | ||
<IsPackable Condition="'$(BV_IsLibraryProject)' == 'true'">true</IsPackable> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(IsPackable)' != 'true'"> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<Import Project="$(MSBuildThisFileDirectory)Module.Core.targets" | ||
Condition="$(IsPackable)" /> | ||
Condition="!$(UsingAlternatePack)" /> | ||
|
||
</Project> |