ifupdated 0.0.2

IfUpdated - utility to run command only when source files was changed from last run


To use this package, put the following dependency into your project's dependencies section:

dub.json
dub.sdl

Build Status license

ifupdated

IfUpdated - UNIX-only utility to run command only when source files was changed from last run

How it works

When the command is started, the utility collects information about all the files used and divides them into two categories - source code and results, depending on the opening parameters. This data is saved in a separate file for each combination of the running command and its parameters, and the next time it is used to determine if the source files have changed since the last time it was run. In the event that the files have not changed, the command is canceled. This utility implements some of the functionality of the utility 'make', and in combination with shell files can replace it in simple cases.

To collect information, the strace utility is used, so it must be installed for the correct operation of the program.

Restrictions

  • The presence of a change is determined by the time (Last Modified), not by content.
  • To reliably detect changes, the running command must use all the files on which the result depends. Therefore, the utility will work badly if the list of source files is not fixed and depends on their presence on the disk.
Authors:
  • Alexey Kulentsov
Dependencies:
none
Versions:
0.0.2 2018-Jun-03
~master 2018-Jun-03
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
0.0
Short URL:
ifupdated.dub.pm