Shake before building: replacing make with haskell
Shake before building: replacing make with haskell
复制标题
构建前摇一摇:用 haskell 替换 make
DOI:
10.1145/2364527.2364538
复制
发表时间:
2012
期刊:
影响因子:
--
通讯作者:
Neil Mitchell
中科院分区:
文献类型:
--
作者:
Neil Mitchell
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.