1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-18 10:22:00 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Chris Peterson
349493a0b8 Fix for ant targets with leading dash
As suggested in https://github.com/robbyrussell/oh-my-zsh/pull/3329#issuecomment-72062236
2015-02-09 13:12:02 -08:00
Chris Peterson
013b2bffcf Change ant target enumeration
Make use of ant's project help feature instead of trying to parse XML with regex (see: http://stackoverflow.com/a/1732454/740787).
This is a behavioral change that does a few things:
 • adds support for ant imports, which were previously not recognized as possibly containing targets
 • supresses targets with no description, as these are conventionally for internal use only
2015-02-09 13:12:02 -08:00
Chris Peterson
7f636ba590 Backwards logic in newer check.
Regen .ant_targets only if it's newer than build.xml? Yeah, that seems wrong.
2015-02-09 13:12:02 -08:00
Spencer Rinehart
300f94cb0e Use [ -nt ] instead of stat -f%m to check cache files. 2013-03-12 13:23:30 -04:00
Brian Riddle
f487897175 fix double -f and corrected format.
-f%m was getting called twice in the stat_cmd
corrected format of stat command from y to Y.
2011-05-31 14:16:43 +02:00
Martin Thurau
04573324d5 Added compatibility for the linux 'stat' command for the ant plugin 2011-05-27 16:58:14 +02:00
Claus Witt
fa7036b4ee Added ant plugin 2010-11-25 21:48:07 +01:00