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 2 articles )
Showing results 1 to 2 of 2.
- Peyton Jones, Simon; Weirich, Stephanie; Eisenberg, Richard A.; Vytiniotis, Dimitrios: A reflection on types (2016)
- Mitchell, Neil: Shake before building, replacing make with Haskell (2012) ioport