without go

pull/5/head
Miguel Mota 6 years ago
parent 10df42aa3c
commit c6f4481c1f

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

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

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

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

Loading…
Cancel
Save