haskell / cabal-userguide

A handy user guide for the Cabal build tool
28 stars 5 forks source link

Leveling Up - Build products and caching #21

Open JonathanLorimer opened 3 years ago

JonathanLorimer commented 3 years ago

file to edit: https://github.com/haskell/cabal-userguide/blob/main/src/leveling_up/04_build_products_and_caching.md

Brief Summary

The motivation for this chapter is to reveal some of the internals of cabal. It shouldn't be a deep dive, but an explanation of where things end up, and some performance considerations that will be useful! It might be a good idea to cover manually busting the cache, and clearing out build artefacts, as well as best practices.

Resources

Old cabal user guide build products Old cabal user guide caching