README.md (521B)
1 This directory contains a sketch of optimal rebuilding of a rule with dynamic dependencies. 2 3 The `tar` function opens the `manifest` file and puts files listed in it into an archive at `output`. 4 Thus, the dependencies of `tar` is dynamic, we want to rerun `tar` if either the manifest changes (static) or if one of its input files changed (dynamic). 5 6 tar.py is a version where the dependency tracking logic is written by hand. 7 tar2.py is a version using a minimal build system with a single primitive (rerun_if_changed).