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

4 Commits

Author SHA1 Message Date
Jason Mansfield
373019136a target: rework modtime comparison logic #323 (#324)
* target: rework modtime comparison logic

* fix NewestModTime, add tests for NewestModTime, OldestModTime

* added tests for Dir when target is Dir

* updates per #324
2020-12-21 23:25:58 -05:00
Kent Quirk
8c9aa25d55 Add expansion of envvars and a Glob function to target package (#219) 2019-03-13 22:00:42 -05:00
Nate Finch
198454a81e fix target library (#131)
* fix target library, specifically handling of missing target files
2018-08-24 09:44:31 -04:00
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