ortfo / db

A readable, easy and enjoyable way to manage portfolio databases using directories and text files. Initially made for https://ewen.works.
https://ortfo.org/db
MIT License
2 stars 1 forks source link

Don't re-build everything everytime #64

Closed ewen-lbh closed 10 months ago

ewen-lbh commented 2 years ago

Decouple completely the build process so that it can build each work separately. Then, only re-build works that need it:

  1. Compute hash of description.md file
  2. Compare with hash stored in build metadata file (description_cache key)
  3. If they are the same, skip that work.