summaryrefslogtreecommitdiff
path: root/examples/goimports
diff options
context:
space:
mode:
Diffstat (limited to 'examples/goimports')
-rw-r--r--examples/goimports/Makefile13
-rwxr-xr-xexamples/goimports/build5
-rw-r--r--examples/goimports/control13
3 files changed, 31 insertions, 0 deletions
diff --git a/examples/goimports/Makefile b/examples/goimports/Makefile
new file mode 100644
index 0000000..ecaad6a
--- /dev/null
+++ b/examples/goimports/Makefile
@@ -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 .
+
diff --git a/examples/goimports/build b/examples/goimports/build
new file mode 100755
index 0000000..c879b7f
--- /dev/null
+++ b/examples/goimports/build
@@ -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)
diff --git a/examples/goimports/control b/examples/goimports/control
new file mode 100644
index 0000000..7c5148b
--- /dev/null
+++ b/examples/goimports/control
@@ -0,0 +1,13 @@
+Source:
+Package: goimports
+Build-Depends:
+Maintainer: Jeff Carr <[email protected]>
+Packager: Jeff Carr <[email protected]>
+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