Commit Graph

129 Commits

Author SHA1 Message Date
Kevin Schoon 0a0d358965 update docs 2018-02-03 22:30:57 -05:00
Kevin Schoon 82d8b7d875 break out of listen loop on error 2018-02-03 22:25:06 -05:00
Kevin Schoon 2fc414efdd add socket server for scriptable status output 2018-02-03 22:13:46 -05:00
Kevin Schoon 6c541894ab update readme 2018-02-03 13:50:03 -05:00
Kevin Schoon bd32d957f8 support more color choices 2018-02-03 13:40:38 -05:00
Kevin Schoon 987fbfd261 add date/time in task list output 2018-02-03 13:28:29 -05:00
Kevin Schoon 38c5700812 send notification when the pomo session completes 2018-02-01 16:52:34 -05:00
Kevin Schoon bf6f80e8c1 fix readme 2018-02-01 16:32:37 -05:00
Kevin Schoon c25e4a7e21 remove /bin from md5 output 2018-02-01 16:27:09 -05:00
Kevin Schoon aa645b4c55 output md5 hashes 2018-02-01 16:16:55 -05:00
Kevin Schoon e630f0c4c9 update readme 2018-02-01 16:13:02 -05:00
Kevin Schoon 5b39aa365e improve build support 2018-02-01 16:11:44 -05:00
Kevin Schoon 06bec467f1 support OSX cross compilation 2018-02-01 15:20:22 -05:00
Kevin Schoon 683e204a4d Merge branch 'xakon-fix/makefile' 2018-02-01 09:56:05 -05:00
Kevin Schoon dd5c21e0eb Merge branch 'fix/makefile' of github.com:xakon/pomo into xakon-fix/makefile 2018-02-01 09:54:10 -05:00
Kevin Schoon 797d43f7df update dependencies 2018-02-01 09:44:56 -05:00
Christos Kontas abed8fd61c Makefile: use automatic variables for bindata.go
This change can easily let us expand the rule by adding more files as a
dependency.  Even better, we can define a variable to hold all these
external, binary resources.
2018-02-01 10:20:12 +01:00
Christos Kontas a9172824a2 Makefile: shorten recipe using default target var 2018-02-01 10:13:45 +01:00
Christos Kontas 858872bab8 Makefile: split the target from the PHONY rule
A PHONY rule is executed always.  The target of the `readme' rule is to
create the `www/data/readme.json', which depends only on `README.md'.
If we specify these dependencies separately, make(1) won't build the
`readme.json', if it's not necessary.  And yet, we can refer to this
creation by typing `make readme'.
2018-02-01 10:10:24 +01:00
Christos Kontas f8a7c65bf3 Makefile: explicitly create bin/, if necessary
Most of the go(1) tools will create the missing directory.
Yet, it is better to define this dependency explicitly to make(1),
to avoid unnecessary surprises.

Another useful feature of make(1) is the multiple targets per rule.
This way, we can have the same action and it is the target the variable
of the rule, anymore.
2018-02-01 10:07:57 +01:00
Christos Kontas 295f0d024a Makefile: add missing dependency for `www/data' 2018-02-01 10:00:53 +01:00
Christos Kontas 1bb38796ad Makefile: simplify `clean' rule
There is a special rule in make(1) to denote that we don't care about
the result of a command.  Additionally, we can also instruct rm(1) not
to complain when it didn't find a file/directory to remove.

As a final touch, there is no point of having 2 shell executions to
remove 2 or more files.  We can compress these 2 recipes into a single
one.

Reference:
   https://www.gnu.org/software/make/manual/html_node/Errors.html
2018-02-01 09:56:51 +01:00
Kevin Schoon ab24f88a59 remove dead code 2018-01-31 18:06:10 -05:00
Kevin Schoon 7f0df49878 update readme 2018-01-31 08:12:09 -05:00
Kevin Schoon 7bffb5fe7e simplify notifications 2018-01-31 07:43:41 -05:00
Kevin Schoon 51aaa9c19f Merge branch 'JackMordaunt-master' 2018-01-31 07:13:04 -05:00
Kevin Schoon af9be87671 Merge branch 'master' of github.com:JackMordaunt/pomo into JackMordaunt-master 2018-01-31 07:08:24 -05:00
Kevin Schoon 2042488d20 fix out of date dependencies 2018-01-30 21:23:53 -05:00
Jack Mordaunt 99667b95ae [*] Renamed implementation type due to naming conflict with package. 2018-01-31 01:10:03 +01:00
Jack Mordaunt 18d97db12a [*] Added wrappers around type notificator to indicate which OS are supported by it. 2018-01-31 01:05:40 +01:00
Jack Mordaunt 9c21245767 [+] Implemented cross platform notifications. 2018-01-31 00:54:03 +01:00
Kevin Schoon e06d8dd4ec minor styling updates 2018-01-30 17:55:01 -05:00
Kevin Schoon 7f84e7d6f2 fix url 2018-01-29 22:28:34 -05:00
Kevin Schoon 5cb9152c53 update docs 2018-01-29 22:18:27 -05:00
Kevin Schoon 969c9c2f98 update spacing 2018-01-29 22:00:41 -05:00
Kevin Schoon 452710e984 add demo.gif 2018-01-29 21:56:33 -05:00
Kevin Schoon 479221cc00 clean up ui 2018-01-29 21:18:19 -05:00
Kevin Schoon d7863cb264 store tomato icon in config path 2018-01-28 19:27:13 -05:00
Kevin Schoon 31f1cfaa4e create an empty config file if it does not already exist 2018-01-28 19:09:25 -05:00
Kevin Schoon 70fa81c663 only use libnotify on Linux 2018-01-28 00:42:13 +08:00
Kevin Schoon 3389d46410 remove commented code 2018-01-28 00:26:25 +08:00
Kevin Schoon cbebe43981 UI and copy updates 2018-01-28 00:22:41 +08:00
Kevin Schoon 2f2b55cde1 improve ui 2018-01-27 23:58:56 +08:00
Kevin Schoon af18268be6 add vet to test 2018-01-26 23:34:21 +08:00
Kevin Schoon 55f2a85378 redesign around termui 2018-01-26 23:07:38 +08:00
Kevin Schoon 79a7382a07 add license 2018-01-23 23:16:04 +08:00
Kevin Schoon be7b387259 improve listed output 2018-01-23 22:47:40 +08:00
Kevin Schoon 6b76898db2 fix words 2018-01-23 00:35:54 +08:00
Kevin Schoon 1c13564ada add credits 2018-01-23 00:34:18 +08:00
Kevin Schoon 857a539790 update docs 2018-01-23 00:28:13 +08:00