diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-04-26 11:31:05 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-05-11 11:14:01 -0700 |
| commit | df016066100df955d5ff98811e113fb2b1bd4b8a (patch) | |
| tree | a27b35a3651ca7b1d8c4bb7c7483ec2f92583e08 /src/api/burn/WixToolset.BootstrapperCore.Native | |
| parent | dc6022da6cdbb9d7ca54c4a36485ceead07feaaf (diff) | |
| download | wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.gz wix-df016066100df955d5ff98811e113fb2b1bd4b8a.tar.bz2 wix-df016066100df955d5ff98811e113fb2b1bd4b8a.zip | |
Implement integrated build process
Diffstat (limited to 'src/api/burn/WixToolset.BootstrapperCore.Native')
2 files changed, 18 insertions, 17 deletions
diff --git a/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.nuspec b/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.nuspec index b10b75d2..d86bb3cd 100644 --- a/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.nuspec +++ b/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.nuspec | |||
| @@ -1,19 +1,20 @@ | |||
| 1 | <?xml version="1.0"?> | 1 | <?xml version="1.0"?> |
| 2 | <package > | 2 | <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd"> |
| 3 | <metadata> | 3 | <metadata minClientVersion="4.0"> |
| 4 | <id>$id$</id> | 4 | <id>$id$</id> |
| 5 | <version>$version$</version> | 5 | <version>$version$</version> |
| 6 | <authors>WiX Toolset Team</authors> | 6 | <title>$title$</title> |
| 7 | <owners>WiX Toolset Team</owners> | 7 | <description>$description$</description> |
| 8 | <authors>$authors$</authors> | ||
| 8 | <license type="expression">MS-RL</license> | 9 | <license type="expression">MS-RL</license> |
| 9 | <projectUrl>https://github.com/wixtoolset/BootstrapperCore</projectUrl> | ||
| 10 | <requireLicenseAcceptance>false</requireLicenseAcceptance> | 10 | <requireLicenseAcceptance>false</requireLicenseAcceptance> |
| 11 | <description>$description$</description> | ||
| 12 | <copyright>$copyright$</copyright> | 11 | <copyright>$copyright$</copyright> |
| 12 | <projectUrl>$projectUrl$</projectUrl> | ||
| 13 | <repository type="$repositorytype$" url="$repositoryurl$" commit="$repositorycommit$" /> | ||
| 13 | </metadata> | 14 | </metadata> |
| 14 | 15 | ||
| 15 | <files> | 16 | <files> |
| 16 | <file src="build\$id$.props" target="build\" /> | 17 | <file src="$projectFolder$\build\$id$.props" target="build\" /> |
| 17 | <file src="inc\*" target="build\native\include" /> | 18 | <file src="$projectFolder$\inc\*" target="build\native\include" /> |
| 18 | </files> | 19 | </files> |
| 19 | </package> | 20 | </package> |
diff --git a/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj b/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj index 0899bdcf..0bd374c7 100644 --- a/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj +++ b/src/api/burn/WixToolset.BootstrapperCore.Native/WixToolset.BootstrapperCore.Native.proj | |||
| @@ -1,19 +1,19 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | 2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
| 3 | 3 | ||
| 4 | 4 | <Project Sdk="Microsoft.Build.NoTargets/3.0.4"> | |
| 5 | <Project ToolsVersion="4.0" DefaultTargets="Pack" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 6 | <PropertyGroup> | 5 | <PropertyGroup> |
| 6 | <TargetFramework>netcoreapp3.1</TargetFramework> | ||
| 7 | <PackageId>WixToolset.BootstrapperCore.Native</PackageId> | 7 | <PackageId>WixToolset.BootstrapperCore.Native</PackageId> |
| 8 | <Description>WiX Bootstrapper native interfaces</Description> | 8 | <Description>WiX Bootstrapper native interfaces</Description> |
| 9 | </PropertyGroup> | 9 | </PropertyGroup> |
| 10 | 10 | ||
| 11 | <Target Name="PackNative" DependsOnTargets="GetBuildVersion"> | 11 | <ItemGroup> |
| 12 | <Exec Command='nuget pack $(PackageId).nuspec -OutputDirectory "$(BaseOutputPath)$(Configuration)" -Properties Id=$(PackageId);Version="$(BuildVersionSimple)";Authors="$(Authors)";Copyright="$(Copyright)";Description="$(Description)"' /> | 12 | <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" /> |
| 13 | </Target> | 13 | <PackageReference Include="GitInfo" PrivateAssets="All" /> |
| 14 | 14 | </ItemGroup> | |
| 15 | <Import Project="..\Directory.Build.props" /> | ||
| 16 | <!-- <Import Project="..\Directory.Build.targets" /> --> | ||
| 17 | 15 | ||
| 18 | <Import Project="..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets" Condition="Exists('..\..\packages\Nerdbank.GitVersioning.3.3.37\build\Nerdbank.GitVersioning.targets')" /> | 16 | <Target Name="Pack" |
| 17 | DependsOnTargets="GitVersion;PackNative" | ||
| 18 | BeforeTargets="AfterBuild" /> | ||
| 19 | </Project> | 19 | </Project> |
