Last active
July 11, 2022 09:15
-
-
Save futuretea/d7a3b63f3013d43a1c3256f2770f4497 to your computer and use it in GitHub Desktop.
harvester-dev.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mount host E:\\dev to wsl ~/dev | |
cd ~ | |
ln -s /mnt/e/dev | |
# mount repo to GOPATH | |
mkdir -p ~/go/src/github.com/harvester | |
cd ~/go/src/github.com/harvester | |
mount --bind /home/go/dev/futuretea/harvester ./harvester | |
GO111MODULE=off go generate | |
CGO_ENABLED=0 go build -mod=vendor . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment