diff options
Diffstat (limited to 'examples/x-tools')
| -rw-r--r-- | examples/x-tools/Makefile | 13 | ||||
| -rwxr-xr-x | examples/x-tools/build | 37 | ||||
| -rw-r--r-- | examples/x-tools/control | 14 |
3 files changed, 64 insertions, 0 deletions
diff --git a/examples/x-tools/Makefile b/examples/x-tools/Makefile new file mode 100644 index 0000000..578b75c --- /dev/null +++ b/examples/x-tools/Makefile @@ -0,0 +1,13 @@ +.PHONY: build + +# this is how the mirrors.wit.com debian package is created + +all: build + +build: + cp build control ~/go/src/golang.org/x/tools/ + go-deb --auto --repo golang.org/x/tools + +# use the ncurses gui (only kinda works still) +ncurses: + # go-deb --gui gocui --repo . diff --git a/examples/x-tools/build b/examples/x-tools/build new file mode 100755 index 0000000..f35067a --- /dev/null +++ b/examples/x-tools/build @@ -0,0 +1,37 @@ +#!/bin/bash -x + +# bin /usr/bin +# cmd golang.org/x/tools/cmd/benchcmp +# cmd golang.org/x/tools/cmd/godoc +# cmd golang.org/x/tools/cmd/goimports +# +# bin /usr/lib/golang.org/x/tools/ +# cmd golang.org/x/tools/cmd/auth golang-authtest +# cmd golang.org/x/tools/cmd/bisect golang-bisect +# cmd golang.org/x/tools/cmd/bundle golang-bundle +# cmd golang.org/x/tools/cmd/callgraph +# cmd golang.org/x/tools/cmd/compilebench +# cmd golang.org/x/tools/cmd/deadcode +# cmd golang.org/x/tools/cmd/digraph +# cmd golang.org/x/tools/cmd/eg +# cmd golang.org/x/tools/cmd/file2fuzz +# cmd golang.org/x/tools/cmd/fiximports +# cmd golang.org/x/tools/cmd/go-contrib-init +# cmd golang.org/x/tools/cmd/godex +# cmd golang.org/x/tools/cmd/gomvpkg +# cmd golang.org/x/tools/cmd/gonew +# cmd golang.org/x/tools/cmd/gotype +# cmd golang.org/x/tools/cmd/goyacc +# cmd golang.org/x/tools/cmd/html2article +# cmd golang.org/x/tools/cmd/present +# cmd golang.org/x/tools/cmd/present2md +# cmd golang.org/x/tools/cmd/signature-fuzzer +# cmd golang.org/x/tools/cmd/splitdwarf +# cmd golang.org/x/tools/cmd/ssadump +# cmd golang.org/x/tools/cmd/stress +# cmd golang.org/x/tools/cmd/stringer +# cmd golang.org/x/tools/cmd/toolstash + +# doc man1 benchcmp.1.gz + +# normal bash stuff below still will run diff --git a/examples/x-tools/control b/examples/x-tools/control new file mode 100644 index 0000000..0900e3e --- /dev/null +++ b/examples/x-tools/control @@ -0,0 +1,14 @@ +Source: +Package: golang.org-x-tools +Build-Depends: +Maintainer: https://golang.org/issue/ +Packager: Jeff Carr <[email protected]> +Architecture: amd64 +Depends: +GoPath: golang.org/x/tools +Recommends: golang +BuildIgnore: +Description: GO lang x/tools + Just an example of how it could be packaged using go-deb + incase that is of any use or not. + This was packaged with go-deb from go.wit.com |
