Shake before building, replacing make with Haskell. Most complex software projects are compiled using a build tool (e.g. make), which runs commands in an order satisfying user-defined dependencies. Unfortunately, most build tools require all dependencies to be specified before the build starts. This restriction makes many dependency patterns difficult to express, especially those involving files generated at build time. We show how to eliminate this restriction, allowing additional dependencies to be specified while building. We have implemented our ideas in the Haskell library Shake, and have used Shake to write a complex build system which compiles millions of lines of code.

References in zbMATH (referenced in 3 articles )

Showing results 1 to 3 of 3.
Sorted by year (citations)

  1. Mokhov, Andrey; Mitchell, Neil; Peyton Jones, Simon: Build systems à la carte: theory and practice (2020)
  2. Peyton Jones, Simon; Weirich, Stephanie; Eisenberg, Richard A.; Vytiniotis, Dimitrios: A reflection on types (2016)
  3. Mitchell, Neil: Shake before building, replacing make with Haskell (2012) ioport