Disable DebBuild when we're not building targetingPack
This commit is contained in:
parent
5e2e1cdfd3
commit
a071e40e34
|
|
@ -23,7 +23,7 @@
|
|||
<Target Name="Build" DependsOnTargets="DebBuild" />
|
||||
<Target Name="Pack" />
|
||||
|
||||
<Target Name="DebBuild" DependsOnTargets="$(DebBuildDependsOn)">
|
||||
<Target Name="DebBuild" DependsOnTargets="$(DebBuildDependsOn)" Condition="'$(IsTargetingPackBuilding)' != 'false'">
|
||||
<!-- Generate debian_config.json. We can't simply use WriteLinesToFile because of https://github.com/Microsoft/msbuild/issues/1622. Use our custom GenerateFileFromTemplate task instead -->
|
||||
<PropertyGroup>
|
||||
<DebianConfigProperties>
|
||||
|
|
@ -49,9 +49,7 @@
|
|||
|
||||
<!-- Build SharedFx Bundle Deb package -->
|
||||
|
||||
<Exec
|
||||
Condition="'$(IsTargetingPackBuilding)' != 'false'"
|
||||
Command="$(DebianBuildScript) -i '$(IntermediateOutputPath)' -o '$(IntermediateOutputPath)out/' -C '$(PackageContentRoot)'" />
|
||||
<Exec Command="$(DebianBuildScript) -i '$(IntermediateOutputPath)' -o '$(IntermediateOutputPath)out/' -C '$(PackageContentRoot)'" />
|
||||
|
||||
<PropertyGroup>
|
||||
<BuildScriptOutputFileName>$(PackageId)_$(DebPackageVersion)-$(PackageRevision)_$(DebianPackageArch).deb</BuildScriptOutputFileName>
|
||||
|
|
|
|||
Loading…
Reference in New Issue