more example ideas
This commit is contained in:
parent
c8bbe3c298
commit
b1cdb841bc
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# cmd github.com/posener/complete/gocomplete
|
||||||
|
|
||||||
# this is the awesome gocomplete from github.com/posener/complete
|
# this is the awesome gocomplete from github.com/posener/complete
|
||||||
|
|
||||||
mkdir -p files/usr/bin
|
mkdir -p files/usr/bin
|
||||||
cp ~/go/bin/gocomplete files/usr/bin
|
cp ~/go/src/github.com/posener/complete/gocomplete/gocomplete files/usr/bin/
|
||||||
|
|
|
@ -7,6 +7,6 @@ Architecture: amd64
|
||||||
Depends:
|
Depends:
|
||||||
GoPath: github.com/posener/complete
|
GoPath: github.com/posener/complete
|
||||||
Recommends: golang
|
Recommends: golang
|
||||||
Version: 0.0.1
|
Version: 0.0.2
|
||||||
Description: gocomplete from posener
|
Description: gocomplete from posener
|
||||||
This was packaged with go-deb from go.wit.com
|
This was packaged with go-deb from go.wit.com
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
.PHONY: build
|
||||||
|
|
||||||
|
# this is how the mirrors.wit.com debian package is created
|
||||||
|
|
||||||
|
all: build
|
||||||
|
|
||||||
|
build:
|
||||||
|
go-deb --repo .
|
||||||
|
|
||||||
|
# use the ncurses gui (only kinda works still)
|
||||||
|
ncurses:
|
||||||
|
go-deb --gui gocui --repo .
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# do nothing. this package is just an 'alias'
|
||||||
|
# since I never remember where goimport is
|
||||||
|
# (it's in golang-golang-x-tools)
|
|
@ -0,0 +1,13 @@
|
||||||
|
Source:
|
||||||
|
Package: goimports
|
||||||
|
Build-Depends:
|
||||||
|
Maintainer: Jeff Carr <jcarr@wit.com>
|
||||||
|
Packager: Jeff Carr <jcarr@wit.com>
|
||||||
|
Architecture: amd64
|
||||||
|
Depends: golang-golang-x-tools
|
||||||
|
GoPath: golang.org/x/tools
|
||||||
|
Recommends: golang
|
||||||
|
Version: 0.0.1
|
||||||
|
Description: apt install's golang.org/x/tools
|
||||||
|
This doesn't do anything. it's just a shortcut.
|
||||||
|
This was packaged with go-deb from go.wit.com
|
|
@ -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 .
|
|
@ -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
|
|
@ -0,0 +1,14 @@
|
||||||
|
Source:
|
||||||
|
Package: golang.org-x-tools
|
||||||
|
Build-Depends:
|
||||||
|
Maintainer: https://golang.org/issue/
|
||||||
|
Packager: Jeff Carr <jcarr@wit.com>
|
||||||
|
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
|
Loading…
Reference in New Issue