1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00

1 Commits

Author SHA1 Message Date
Geofrey Ernest
fe23edb1ac Add mg.Target (#54)
* Add mg.Target

This function allows specifying files/directories as targets and returns true when the targets are met and false otherwise.

Targets are met if the ModTime of src is older than any ModTime of any  of the specified targets.

For recursive checks of directory with its file contents set recusive argument to true
2017-10-18 20:16:56 -04:00