Skip to content

Commit

Permalink
fix hack/rebuild.sh to not required root to have go installed
Browse files Browse the repository at this point in the history
  • Loading branch information
pleclech committed May 19, 2023
1 parent 5c07a2e commit f298751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags "-s -w" -o test/devpod-c
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags "-s -w" -o test/devpod-cli-darwin-arm64
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags "-s -w" -o test/devpod-cli-darwin-amd64
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags "-s -w" -o test/devpod-cli-windows-amd64
sudo go build -o /usr/local/bin/devpod
go build -o test/devpod && sudo mv test/devpod /usr/local/bin/
cp test/devpod-cli-linux-amd64 test/devpod-linux-amd64
cp test/devpod-cli-linux-arm64 test/devpod-linux-arm64
cp test/devpod-cli-linux-amd64 desktop/src-tauri/bin/devpod-cli-x86_64-unknown-linux-gnu
Expand Down

0 comments on commit f298751

Please sign in to comment.