From e78d5daa7b688bd5f68597d3c059ae53618762c8 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Fri, 26 Mar 2021 00:09:58 -0600 Subject: rebalance TODO structure --- yapymake/args.py | 3 +++ yapymake/makefile/__init__.py | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/yapymake/args.py b/yapymake/args.py index 3f9d842..60aafe8 100644 --- a/yapymake/args.py +++ b/yapymake/args.py @@ -26,6 +26,7 @@ parser.add_argument('--makefile', '--file', '-f', parser.add_argument('--ignore-errors', '-i', action='store_true', help='Ignore error codes returned by invoked commands.') +# TODO implement keep-going parser.add_argument('--keep-going', '-k', action='store_true', help='Continue to update other targets that do not depend on the current target if a non-ignored ' @@ -37,6 +38,7 @@ parser.add_argument('--dry-run', '--just-print', '--recon', '-n', parser.add_argument('--print-everything', '--print-data-base', '-p', action='store_true', help='Write to standard output the complete set of macro definitions and target descriptions.') +# TODO implement question parser.add_argument('--question', '-q', action='store_true', help='Return a zero exit value if the target file is up-to-date; otherwise, return an exit value ' @@ -53,6 +55,7 @@ parser.add_argument('--no-keep-going', '--stop', '-S', parser.add_argument('--silent', '--quiet', '-s', action='store_true', help='Do not write makefile command lines or touch messages to standard output before executing.') +# TODO implement touch parser.add_argument('--touch', '-t', action='store_true', help='Update the modification time of each target as though a touch target had been executed.') diff --git a/yapymake/makefile/__init__.py b/yapymake/makefile/__init__.py index a3e65d7..7d0125c 100644 --- a/yapymake/makefile/__init__.py +++ b/yapymake/makefile/__init__.py @@ -504,7 +504,6 @@ class CommandLine: # > an error message to standard error. if not ignore_errors and result != 0: print('error!', file=sys.stderr) - # TODO implement keep-going sys.exit(1) BUILTIN_INFERENCE_RULES = [ -- cgit v1.2.3