Skip to content

Commit c15ef94

Browse files
committed
🔧 Fix packing nanoFramework nugets
(cherry picked from commit ecd75c9)
1 parent 0a32254 commit c15ef94

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Build/build-functions.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function Start-Tests {
116116
write-host -foreground blue "Run tests...END`n"
117117
}
118118

119-
function Start-PackNugets {
119+
function Start-PackNugets([boolean] $IncludeNanoFramework = $false) {
120120
$projectPaths = @(
121121
"UnitsNet\UnitsNet.csproj",
122122
"UnitsNet.Serialization.JsonNet\UnitsNet.Serialization.JsonNet.csproj",

Build/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ try {
3434
Update-GeneratedCode
3535
Start-Build -IncludeWindowsRuntimeComponent $IncludeWindowsRuntimeComponent -IncludeNanoFramework $IncludeNanoFramework
3636
Start-Tests
37-
Start-PackNugets
37+
Start-PackNugets -IncludeNanoFramework $IncludeNanoFramework
3838
Compress-ArtifactsAsZip
3939
}
4040
catch {

0 commit comments

Comments
 (0)