gundermanc / vs-go

Hack and slash Go language service prototype for VS Win + VS Mac
MIT License
8 stars 2 forks source link

Ramp-up into the project #38

Open benhxy opened 5 years ago

benhxy commented 5 years ago

Install:

  1. Go SDK: https://golang.org/dl/
  2. VSIX SDK: https://docs.microsoft.com/en-us/visualstudio/extensibility/installing-the-visual-studio-sdk?view=vs-2019
  3. MinGW32 (to get gcc on Windows): https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/

Set environment variables :

  1. Clone this repo
  2. Set env variable GOPATH= (Temporary hack to make go build possible outside of default GOPATH, Read about GOPATH here: https://golang.org/doc/code.html#Organization)
  3. Add MinGW32 bin path to PATH

Open solution:

  1. For Windows: open src/Go.Windows.sln
  2. For Mac: open src/Go.Mac.sln
gundermanc commented 5 years ago

Set env variable GOPATH= (Temporary hack to make go build possible outside of default GOPATH, Read about GOPATH here: https://golang.org/doc/code.html#Organization)

Note: we can probably fix this for the VS build at least by adding it to the EnvironmentVariables block in the build task.