Skip to content

Commit d503444

Browse files
committed
Add properties to allow for incremental building
1 parent 6de8fc0 commit d503444

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

UpdateLibgit2ToSha.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Push-Location $libgit2Directory
9393
$buildProperties = @"
9494
<Project>
9595
<PropertyGroup>
96+
<MSBuildAllProjects>`$(MSBuildAllProjects);`$(MSBuildThisFileFullPath)</MSBuildAllProjects>
97+
<libgit2_propsfile>`$(MSBuildThisFileFullPath)</libgit2_propsfile>
9698
<libgit2_hash>$sha</libgit2_hash>
9799
<libgit2_filename>$binaryFilename</libgit2_filename>
98100
</PropertyGroup>
@@ -104,6 +106,8 @@ Push-Location $libgit2Directory
104106
$net461BuildProperties = @"
105107
<Project>
106108
<PropertyGroup>
109+
<MSBuildAllProjects>`$(MSBuildAllProjects);`$(MSBuildThisFileFullPath)</MSBuildAllProjects>
110+
<libgit2_propsfile>`$(MSBuildThisFileFullPath)</libgit2_propsfile>
107111
<libgit2_hash>$sha</libgit2_hash>
108112
<libgit2_filename>$binaryFilename</libgit2_filename>
109113
</PropertyGroup>

nuget.package/build/LibGit2Sharp.NativeBinaries.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<Project>
22
<PropertyGroup>
3+
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
4+
<libgit2_propsfile>$(MSBuildThisFileFullPath)</libgit2_propsfile>
35
<libgit2_hash>15e119375018fba121cf58e02a9f17fe22df0df8</libgit2_hash>
46
<libgit2_filename>git2-15e1193</libgit2_filename>
57
</PropertyGroup>

nuget.package/build/net461/LibGit2Sharp.NativeBinaries.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<Project>
22
<PropertyGroup>
3+
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
4+
<libgit2_propsfile>$(MSBuildThisFileFullPath)</libgit2_propsfile>
35
<libgit2_hash>15e119375018fba121cf58e02a9f17fe22df0df8</libgit2_hash>
46
<libgit2_filename>git2-15e1193</libgit2_filename>
57
</PropertyGroup>

0 commit comments

Comments
 (0)