Move code around, add deps as submodules and add Makefile for easy building

master
Elis Hirwing 2017-11-04 22:41:28 +01:00
parent 23d000aac0
commit 18c30f60fd
Signed by: etu
GPG Key ID: D57EFA625C9A925F
13 changed files with 28 additions and 3 deletions

7
.gitignore vendored
View File

@ -1,4 +1,5 @@
status.toml
pkg/
src/github.com/
./statusscreen
vendor/pkg/
statusscreen
!vendor/src/statusscreen/

15
.gitmodules vendored Normal file
View File

@ -0,0 +1,15 @@
[submodule "vendor/src/github.com/buger/goterm"]
path = vendor/src/github.com/buger/goterm
url = https://github.com/buger/goterm.git
[submodule "vendor/src/github.com/BurntSushi/toml"]
path = vendor/src/github.com/BurntSushi/toml
url = https://github.com/BurntSushi/toml.git
[submodule "vendor/src/github.com/common-nighthawk/go-figure"]
path = vendor/src/github.com/common-nighthawk/go-figure
url = https://github.com/common-nighthawk/go-figure.git
[submodule "vendor/src/github.com/mattn/go-runewidth"]
path = vendor/src/github.com/mattn/go-runewidth
url = https://github.com/mattn/go-runewidth.git
[submodule "vendor/src/github.com/olekukonko/tablewriter"]
path = vendor/src/github.com/olekukonko/tablewriter
url = https://github.com/olekukonko/tablewriter.git

4
Makefile Normal file
View File

@ -0,0 +1,4 @@
GOPATH=`pwd`/vendor
build:
env CGO_ENABLED=0 GOPATH=$(GOPATH) go build -o statusscreen

@ -0,0 +1 @@
Subproject commit a368813c5e648fee92e5f6c30e3944ff9d5e8895

1
vendor/src/github.com/buger/goterm vendored Submodule

@ -0,0 +1 @@
Subproject commit d443b9114f9c050367638a536310fbec36a0de11

@ -0,0 +1 @@
Subproject commit 2d3c686981b48f9d6022181dc810381325b16b24

@ -0,0 +1 @@
Subproject commit 97311d9f7767e3d6f422ea06661bc2c7a19e8a5d

@ -0,0 +1 @@
Subproject commit a7a4c189eb47ed33ce7b35f2880070a0c82a67d4