Commit Graph

5 Commits

Author SHA1 Message Date
Marc Cornellà
e60458793a Switch newer-than logic to get the desired behavior
In the old version, the function returned true (0) if the cache file
was newer than the Cakefile, which was *always* unless the Cakefile
had been updated. Therefore we generated the file every time unless
the Cakefile was updated, which was precisely when we needed to
regenerate the cache file.

Now it generates the cache file only when the Cakefile has been
updated.
2015-02-01 23:32:38 +01:00
Spencer Rinehart
300f94cb0e Use [ -nt ] instead of stat -f%m to check cache files. 2013-03-12 13:23:30 -04:00
Nick Stenning
8287cc177e Better cake completion: don't barf on options, and don't clobber user's namespace 2011-09-24 17:22:20 +01:00
Paul Serby
c09e2f2986 Bringing inline with oh-my-zsh coding convensions 2011-07-18 16:05:05 +01:00
Paul Serby
66c6260c10 Completion for cake the coffee-script build tool 2011-07-16 16:15:15 +01:00