ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #05975
A Go tool for building click packages
Hello,
To learn some more Go and also about Click package internals I wrote a tool
that modulo bugs and a few corner cases replicates what the official click
build and click buildsource commands do
I only tested it very briefly and on a single package so far.
If you have Go installed and GOPATH set up, try it out:
$ go get github.com/janimo/goclick
[...]
$ goclick
Usage: goclick COMMAND [options]
Commands are as follows ('click COMMAND --help' for more):
build Build a Click package.
buildsource Build a Click source package.
contents Show the file-list contents of a Click package
file.
info Show manifest information for a Click package.
One use of such a tool is building Click packages by only installing a
single binary and no other deps. It depends on a call to "du" at the moment
but once that is gone it could in theory be used even on Windows.
Jani