Snap setup: https://github.com/go-task/snap
First of all, I need classic confinement for Task. Users will use Task to call basically anything they want: be it a compiler, tool, script, etc. Also, it should be able to read and write to any directory the user want.
I also need a little help with it.
The build failed on the build server, and I couldn’t understand what’s wrong by the stack trace. I was able to build, install and run it locally without any problem.
- I’d like to configure specific
-ldflags in the build, like this. It don’t seem it is currently supported by the Go plugin.
- IMHO Snapcraft need better error messages. While trying to configure it, I did silly mistakes until I got it right. But instead of an useful error message, Snapcraft just prints an stack trace, and it was hard to know what was wrong.
- I usually install Go manually, by downloading it and setuping GOROOT, GOPATH, PATH, etc. Even then, Snapcraft install Go from
apt-get and then I get two Go versions installed in my machine. Maybe it should skip it if the
go executable is found in PATH?