Commit Graph

62 Commits

Author SHA1 Message Date
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
Kevin Schoon d02072888d update Makefile 2018-01-23 00:27:35 +08:00
Kevin Schoon 9431619825 fix link 2018-01-22 23:14:05 +08:00
Kevin Schoon 1d74a3356d add docs 2018-01-22 23:07:58 +08:00
Kevin Schoon 7b1bf2980c add hugo sources 2018-01-22 22:59:03 +08:00
Kevin Schoon 6c8ffe602a Merge branch 'master' of github.com:kevinschoon/pomo 2018-01-22 18:46:24 +08:00
Kevin Schoon 0ada6d0972 fix version 2018-01-21 23:38:17 +08:00
Kevin Schoon 1aeefe0ad9 ignore bin 2018-01-21 23:38:07 +08:00
Kevin Schoon f918da5b5c
update readme 2018-01-21 23:15:33 +08:00
Kevin Schoon c1350e9056 add version 2018-01-21 19:46:03 +08:00
Kevin Schoon 499d829860 add vendor 2018-01-21 18:41:29 +08:00
Kevin Schoon 70291554e1 fix broken delete sql 2018-01-21 18:39:56 +08:00
Kevin Schoon 0c34cca4be remove commented code 2018-01-21 18:36:45 +08:00
Kevin Schoon 85c4f20f8c refactor run loop, add simple libnotify support, improve notifications, binpack tomato image 2018-01-21 18:35:03 +08:00
Kevin Schoon cb5779343f improve output, encode duration + target pomodoros 2018-01-21 02:54:30 +08:00
Kevin Schoon b5042fdbeb add cool ascii spinner 2018-01-21 01:49:07 +08:00
Kevin Schoon 782bd5956a assending tasks by default 2018-01-21 01:24:48 +08:00
Kevin Schoon e6d9bfab2c add filtering 2018-01-21 01:20:01 +08:00