Browse Source

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

master
Elis Hirwing 4 years ago
parent
commit
18c30f60fd
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 7
      .gitignore
  2. 15
      .gitmodules
  3. 4
      Makefile
  4. 0
      main.go
  5. 1
      vendor/src/github.com/BurntSushi/toml
  6. 1
      vendor/src/github.com/buger/goterm
  7. 1
      vendor/src/github.com/common-nighthawk/go-figure
  8. 1
      vendor/src/github.com/mattn/go-runewidth
  9. 1
      vendor/src/github.com/olekukonko/tablewriter
  10. 0
      vendor/src/statusscreen/Clock.go
  11. 0
      vendor/src/statusscreen/Config.go
  12. 0
      vendor/src/statusscreen/SL.go
  13. 0
      vendor/src/statusscreen/Weather.go

7
.gitignore

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

15
.gitmodules

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

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

0
statusscreen.go → main.go

1
vendor/src/github.com/BurntSushi/toml

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

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

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

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

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

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

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

1
vendor/src/github.com/olekukonko/tablewriter

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

0
src/statusscreen/Clock.go → vendor/src/statusscreen/Clock.go

0
src/statusscreen/Config.go → vendor/src/statusscreen/Config.go

0
src/statusscreen/SL.go → vendor/src/statusscreen/SL.go

0
src/statusscreen/Weather.go → vendor/src/statusscreen/Weather.go

Loading…
Cancel
Save