28 Commits (master)

Author SHA1 Message Date
Kevin Schoon 6236144041 add man page 2 years ago
Kevin Schoon 1b321198fb fix issue where interface can block
Fixed an issue where the UI can block when certain key combinations are
pressed in different states. An alternative and more robust approach would
likely be to re-write the runner code as a finite state machine, however
these quick fixes work okay.

Additionally cleaned up some spacing in console messages and added a CREATED
state which is the default state of a pomodoro.
2 years ago
Sam Boysel e2c67d9161 adding install target to Makefile 2 years ago
Sam Boysel 5b555f0cee build before running tests 2 years ago
Kevin Schoon 3d946499a2 build bin/pomo by default 3 years ago
Kevin Schoon fb3e9d3184 update Makefile 3 years ago
Kevin Schoon c880e8ac1b rm release helpers
Binary releases suck to maintain and upstream package maintainers, e.g.
Debian, Brew, etc. should be preferred.
3 years ago
Kevin Schoon 34eab4e98b restructure project into modules 4 years ago
Kevin Schoon 3d478cbcf9 rm usermap on build 5 years ago
Kevin Schoon 952ebbf1fc add new build environment for cross compile 5 years ago
Kevin Schoon cb6867d329 add installer script 5 years ago
Kevin Schoon 14734c3ccf update Makefile 6 years ago
Kevin Schoon c25e4a7e21 remove /bin from md5 output 6 years ago
Kevin Schoon aa645b4c55 output md5 hashes 6 years ago
Kevin Schoon 5b39aa365e improve build support 6 years ago
Kevin Schoon 06bec467f1 support OSX cross compilation 6 years ago
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.
6 years ago
Christos Kontas a9172824a2 Makefile: shorten recipe using default target var 6 years ago
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'.
6 years ago
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.
6 years ago
Christos Kontas 295f0d024a Makefile: add missing dependency for `www/data' 6 years ago
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
6 years ago
Kevin Schoon af18268be6 add vet to test 6 years ago
Kevin Schoon d02072888d update Makefile 6 years ago
Kevin Schoon 1d74a3356d add docs 6 years ago
Kevin Schoon 7b1bf2980c add hugo sources 6 years ago
Kevin Schoon 0ada6d0972 fix version 6 years ago
Kevin Schoon 85c4f20f8c refactor run loop, add simple libnotify support, improve notifications, binpack tomato image 6 years ago