add gocomplete example

This commit is contained in:
Jeff Carr 2024-11-17 04:16:24 -06:00
parent 064b6d0005
commit 53ca277ca1
4 changed files with 32 additions and 1 deletions

View File

@ -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 .

6
examples/gocomplete/build Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash -x
# this is the awesome gocomplete from github.com/posener/complete
mkdir -p files/usr/bin
cp ~/go/bin/gocomplete files/usr/bin

View File

@ -0,0 +1,12 @@
Source:
Package: gocomplete
Build-Depends:
Maintainer: Jeff Carr <jcarr@wit.com>
Packager: Jeff Carr <jcarr@wit.com>
Architecture: amd64
Depends:
URL: github.com/posener/complete
Recommends: golang
Version: 0.0.1
Description: gocomplete from posener
This was packaged with go-deb from go.wit.com

View File

@ -7,6 +7,6 @@ Architecture: all
Depends:
URL: https://mirrors.wit.com/
Recommends:
Version: 0.0.6
Version: 0.0.7
Description: apt keys and source file
This was packaged with go-deb from go.wit.com