Skip to content

Commit

Permalink
using native golang build.
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikDary committed Sep 20, 2019
1 parent ab36509 commit 84c8eb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/dcos-diagnostics/windows.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ copy-item -recurse -Path c:/pkg/src/dcos-diagnostics/ -Destination c:/gopath/sr

Push-Location $SRC_DIR

& make install
& GOOS=windows go build .

new-item -itemtype directory "$env:PKG_PATH/bin"
Copy-Item -Path "$SRC_DIR/dcos-diagnostics.exe" -Destination "$env:PKG_PATH/bin/dcos-diagnostics.exe"

Pop-Location

0 comments on commit 84c8eb8

Please sign in to comment.