Update docs/developer/doit.md

Co-authored-by: Alexis Métaireau <alexis@freedom.press>
This commit is contained in:
Alex Pyrgiotis 2024-12-09 18:56:56 +02:00 committed by GitHub
parent 396d53b130
commit 01a613d640
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ We picked Doit out of the various tools out there for the following reasons:
applicable, it's easy to issue shell commands as well. applicable, it's easy to issue shell commands as well.
* **File targets:** Doit borrows the file target concept from Makefiles. Tasks * **File targets:** Doit borrows the file target concept from Makefiles. Tasks
can have file dependencies, and targets they build. This makes it easy to can have file dependencies, and targets they build. This makes it easy to
define a dependency graph (DAG) for tasks. define a dependency graph for tasks.
* **Hash-based caching:** Unlike Makefiles, doit does not look at the * **Hash-based caching:** Unlike Makefiles, doit does not look at the
modification timestamp of source/target files, to figure out if it needs to modification timestamp of source/target files, to figure out if it needs to
run them. Instead, it hashes those files, and will run a task only if the run them. Instead, it hashes those files, and will run a task only if the