From a907f29789afdb68a88012675d98d9b2cc75eb62 Mon Sep 17 00:00:00 2001 From: Miguel Mota Date: Sat, 31 Mar 2018 01:42:25 -0700 Subject: [PATCH] without go Former-commit-id: 4ef1ad9e72a4494b356268d6afffaf290e5de92b [formerly 4ef1ad9e72a4494b356268d6afffaf290e5de92b [formerly 6943d907360a38d05493ed6ffb013372622bdf37 [formerly c6f4481c1f8cb2326117cb0d0a87fb4ad5e313e5]]] Former-commit-id: 67405ded07d60e68fb6b49bfc8756df1d164513a Former-commit-id: 2fa32a555b25301e362046e180268e7b4f9b0cd8 [formerly 59ce7e1e2462b2951f3454b9ad06e49c82e61099] Former-commit-id: 27719689f33a1f97efbf74b893cba1e11ea90457 --- LICENSE.md | 2 +- Makefile | 1 + README.md | 8 ++++++-- cointop.go | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index eb0736f..34a241c 100755 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ MIT license -Copyright (C) 2015 Miguel Mota +Copyright (C) 2017 Miguel Mota Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in diff --git a/Makefile b/Makefile index 2d29546..ce847ad 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ all: run: go run cointop.go keybindings.go navigation.go sort.go layout.go status.go chart.go table.go +# http://macappstore.org/upx build: clean go build -ldflags "-s -w" -o bin/cointop && upx bin/cointop diff --git a/README.md b/README.md index 9b8442b..ad9d141 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Make sure to have [golang](https://golang.org/) installed, then do: go install github.com/miguelmota/cointop ``` -### Alternatively +### Alternatively (without go) ``` sudo curl -s https://git.io/vxKUA | bash @@ -85,6 +85,10 @@ List of shortcuts: export PATH=$PATH:$GOPATH/bin ``` +## Author + +[Miguel Mota](https://github.com/miguelmota) + ## License -MIT +Released under the MIT license. diff --git a/cointop.go b/cointop.go index a6a082f..665e25c 100644 --- a/cointop.go +++ b/cointop.go @@ -59,7 +59,7 @@ func (ct *Cointop) fetchData() ([]*apitypes.Coin, error) { func (ct *Cointop) updateMarket() error { maxX, _ := ct.g.Size() - s := "barfoo" + s := "foo" fmt.Fprintln(ct.marketview, pad.Right(fmt.Sprintf("[q]uit %s", s), maxX, " ")) return nil }