X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=TODO;h=51bd05aa658d67135f06c473207ab4b4b043e2c5;hb=e23952e03c37201fe805ad3d1635e7d2d41e5908;hp=af661fd673e9f95fc1f7943bf62d712f4b68ecfe;hpb=2b6dba02c641e5c2ab09700e20c1f76193869722;p=goals.git diff --git a/TODO b/TODO index af661fd..51bd05a 100644 --- a/TODO +++ b/TODO @@ -6,18 +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. - -"Quiet" code. Generally {CODE} sections in user files should be -echos, and those in stdlib should run silently (except if debugging). -Maybe we should have a quiet keyword to indicate this? - 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). @@ -33,3 +27,13 @@ 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 + +Code should be an expression, eg this ought to work: +let foo = { echo "hello" } +and/or anonymous functions: +let foo = function (arg) { ... } + +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.