Skip to content

Commit

Permalink
tweaking the builders
Browse files Browse the repository at this point in the history
Signed-off-by: John McCrae <[email protected]>
  • Loading branch information
johnmccrae committed Oct 24, 2024
1 parent d063810 commit 5b6cfb7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bldr.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plan_path = "habitat"
build_targets = [
"x86_64-windows"
]
plan_path = "habitat-x64"
plan_path = "habitat"

[dotnet-481-dev-pack-x64]
build_targets = [
Expand Down
6 changes: 3 additions & 3 deletions habitat/plan.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ function Invoke-Build {
Copy-Item $PLAN_CONTEXT/../* $HAB_CACHE_SRC_PATH/$pkg_dirname -recurse -force
nuget restore $HAB_CACHE_SRC_PATH/$pkg_dirname/Chef.Powershell/packages.config -PackagesDirectory $HAB_CACHE_SRC_PATH/$pkg_dirname/packages -Source "https://www.nuget.org/api/v2"

Write-Buildline " ** Setting the SDK Path - it gets borked during the nuget restore"
$env:MSBuildSdksPath="$(Get-HabPackagePath dotnet-8-sdk)\bin\sdk\8.0.400\Sdks"
$env:MSBuildSdksPath
# Write-Buildline " ** Setting the SDK Path - it gets borked during the nuget restore"
# $env:MSBuildSdksPath="$(Get-HabPackagePath dotnet-8-sdk)\bin\sdk\8.0.400\Sdks"
# $env:MSBuildSdksPath

MSBuild $HAB_CACHE_SRC_PATH/$pkg_dirname/Chef.Powershell.Wrapper/Chef.Powershell.Wrapper.vcxproj /t:Build /p:Configuration=Release /p:Platform=x64
if($LASTEXITCODE -ne 0) {
Expand Down

0 comments on commit 5b6cfb7

Please sign in to comment.