You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ability to add Prolog clauses to rules is the unsung feature of biomake: potentially quite powerful, but lacking clear use cases & recipes.
How about a few examples in the README? Using re_match in the rule, as you can now do because biomake includes pcre, is one quick & powerful way to use this feature. We could put this into the README along with other examples e.g.
rule only fires if TARGET file is writable
rule only fires if TARGET file is older than one week
rule only fires if all DEPS files are under 1Mb in size
results go in directory X unless source file is Y, in which case they go into Z (use prolog/endprolog with a little prolog database that specifies the results dir)
The text was updated successfully, but these errors were encountered:
The ability to add Prolog clauses to rules is the unsung feature of biomake: potentially quite powerful, but lacking clear use cases & recipes.
How about a few examples in the README? Using
re_match
in the rule, as you can now do because biomake includes pcre, is one quick & powerful way to use this feature. We could put this into the README along with other examples e.g.TARGET
file is writableTARGET
file is older than one weekDEPS
files are under 1Mb in sizeprolog
/endprolog
with a little prolog database that specifies the results dir)The text was updated successfully, but these errors were encountered: