X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=TODO;h=d3ca19baf8e6a18d0b1f986e822c118a06539e90;hb=3258e6938ac266998ced1394792e1a3a44779526;hp=7cbf9f56757c0cbc232529a13171e323d4c3a91d;hpb=00dfdab0481c531b8608a157dc4c4991f319d7f7;p=goals.git diff --git a/TODO b/TODO index 7cbf9f5..d3ca19b 100644 --- a/TODO +++ b/TODO @@ -6,14 +6,12 @@ Default parameters, ie: You might only allow defaults to be added to the end, or you might allow goals to be called with labelled parameters. -Fix: You must use 'all ()' on the command line. - Deleting target files if goals is interrupted, but only if the timestamp changes (what about non-*files?). Also: atomic code. This will delete the target if the code doesn't run to completion. (make doesn't do this, but probably it should). -Implement parallel builds. +Parallel builds: On failure, wait for other jobs to finish. Conditional sections (same as "ifeq" etc in make). @@ -23,9 +21,6 @@ Let within functions and goals, eg: { .... } Unclear if this would be helpful or not. -Implement more make functions, see: -https://www.gnu.org/software/make/manual/html_node/Functions.html#Functions - Make re-execs itself if the Makefile (or any include) changes, and goals should do something similar. See: https://www.gnu.org/software/make/manual/html_node/Remaking-Makefiles.html @@ -39,3 +34,10 @@ Infinite loop when you have this goal: goal pod2man (page, section) = "docs/%page.%section" : "docs/%page.pod" { ... } This is caused by %section matching "pod" so the rule is called again, even if the local file docs/%page.pod actually exists. + +Implement make-like “eval” function (similar to include directive, +but it evaluates the output of a function as Goalfile syntax). + +Implement make-like “origin” function. This is easy but it requires +us to track to the origin of definitions which we do not do at +the moment. \ No newline at end of file