Sublime Forum

"env" in build is ignored

#1

Here is my build in sublime text 2 :

{
	"env":{"GOPATH":"/home/bussiere/gocode"},
	"cmd": "go","run", "$file"]
}

And here is the output :

main.go:4:2: cannot find package "github.com/niemeyer/qml" in any of:
	/usr/local/go/src/pkg/github.com/niemeyer/qml (from $GOROOT)
	/home/bussiere/Workspace/poker/qml/examples/particle/src/github.com/niemeyer/qml (from $GOPATH)

The fact that i set $GOPATH is totally ignored.

Any idea ?

Regards
Bussiere

0 Likes