gopherjs / gopherjs.github.io

GopherJS Playground
https://gopherjs.github.io/playground/
23 stars 12 forks source link

Updating playground should be as easy as `go generate`, without side-effects. #36

Closed dmitshur closed 8 years ago

dmitshur commented 8 years ago

Right now, updating the playground requires running the update.sh script in its folder:

https://github.com/gopherjs/gopherjs.github.io/blob/master/playground/update.sh

However, it has a few limitations:

It'd be great to make it so that updating the playground can be done by anyone who has gopherjs installed, even if their GOROOT is not writeable, and if their GOPATH contains multiple workspaces. It should also not have side-effects (having side-effects in a temporary folder is acceptable though).

Filing this to track the issue (I thought I already filed it earlier, but I guess I hadn't).