start moving to a go-gui-toolkit package
This commit is contained in:
parent
a9acc5d707
commit
ac4999c721
|
@ -1,7 +1,6 @@
|
|||
*.swp
|
||||
go.mod
|
||||
go.sum
|
||||
build
|
||||
|
||||
# ignore compiled plugins
|
||||
*.so
|
||||
|
|
4
Makefile
4
Makefile
|
@ -1,8 +1,8 @@
|
|||
.PHONY: debian
|
||||
|
||||
|
||||
all: build debian
|
||||
GO111MODULE=off go build -o build main.go
|
||||
all: build
|
||||
# GO111MODULE=off go build -o build main.go
|
||||
|
||||
build: nocui gocui andlabs
|
||||
|
||||
|
|
17
README.md
17
README.md
|
@ -12,26 +12,25 @@ because the underlying OS is proprietary. Whenever possible, the Linux ones are
|
|||
|
||||
### Download and Install
|
||||
|
||||
#### Binary Distributions
|
||||
|
||||
Official binary distributions are available at TODO: finish this
|
||||
|
||||
#### Install From Source
|
||||
|
||||
To download the toolkit packages:
|
||||
To build all the toolkits so you can build your own GUI applications:
|
||||
|
||||
```go
|
||||
go get -v go.wit.com/toolkits/debian
|
||||
cd ~/go/src/toolkits/debian
|
||||
make
|
||||
```
|
||||
To build the debian package
|
||||
To build the go-gui-toolkits .deb package:
|
||||
```go
|
||||
go get -v go.wit.com/toolkits/debian
|
||||
cd ~/go/src/toolkits/debian
|
||||
make debian
|
||||
go get go.wit.com/apps/go-deb@latest
|
||||
go-deb go.wit.com/toolkits/debian
|
||||
```
|
||||
|
||||
#### Binary Distributions
|
||||
|
||||
Official binary distributions are available at TODO: finish this
|
||||
|
||||
### Contributing
|
||||
|
||||
To contribute, please refer to [go.wit.com](http://go.wit.com)
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash -x
|
||||
|
||||
make -C ../nocui
|
||||
make -C ../gocui
|
||||
make -C ../andlabs
|
||||
|
||||
mkdir -p files/usr/lib/go-gui
|
||||
cp ../*.so files/usr/lib/go-gui/
|
|
@ -49,10 +49,11 @@ DEBIAN:
|
|||
|
||||
build:
|
||||
mv DEBIAN ../files/
|
||||
cd .. && dpkg-deb --build files ../${BASENAME}_${VERSION}_amd64.deb
|
||||
-mkdir ~/incoming/
|
||||
cd .. && dpkg-deb --build files ~/incoming/${BASENAME}_${VERSION}_amd64.deb
|
||||
@echo
|
||||
@echo '#######################'
|
||||
cd .. && dpkg-deb --info ../${BASENAME}_${VERSION}_amd64.deb
|
||||
cd .. && dpkg-deb -c ../${BASENAME}_${VERSION}_amd64.deb
|
||||
cd .. && dpkg-deb --info ~/incoming/${BASENAME}_${VERSION}_amd64.deb
|
||||
cd .. && dpkg-deb -c ~/incoming/${BASENAME}_${VERSION}_amd64.deb
|
||||
@echo '#######################'
|
||||
@echo
|
||||
|
|
Loading…
Reference in New Issue