Browse Source

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

master
Elis Hirwing 2 years ago
parent
commit
18c30f60fd
Signed by: Elis Hirwing <elis@hirwing.se> GPG Key ID: D57EFA625C9A925F

+ 4
- 3
.gitignore View File

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

statusscreen
!vendor/src/statusscreen/

+ 15
- 0
.gitmodules 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
- 0
Makefile View File

@@ -0,0 +1,4 @@
GOPATH=`pwd`/vendor

build:
env CGO_ENABLED=0 GOPATH=$(GOPATH) go build -o statusscreen

statusscreen.go → main.go View File


+ 1
- 0
vendor/src/github.com/BurntSushi/toml

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

+ 1
- 0
vendor/src/github.com/buger/goterm

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

+ 1
- 0
vendor/src/github.com/common-nighthawk/go-figure

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

+ 1
- 0
vendor/src/github.com/mattn/go-runewidth

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

+ 1
- 0
vendor/src/github.com/olekukonko/tablewriter

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

src/statusscreen/Clock.go → vendor/src/statusscreen/Clock.go View File


src/statusscreen/Config.go → vendor/src/statusscreen/Config.go View File


src/statusscreen/SL.go → vendor/src/statusscreen/SL.go View File


src/statusscreen/Weather.go → vendor/src/statusscreen/Weather.go View File


Loading…
Cancel
Save