简体   繁体   English

Haskell任务的Makefile示例

[英]Makefile examples for Haskell tasks

Rather than invent my own, what are good makefile rules for typical Haskell tasks such as compiling, packaging, hlint, quickcheck, etc? 对于典型的Haskell任务(例如编译,打包,hlint,quickcheck等),什么是好的makefile规则而不是发明自己的规则?

In a search I find things like like this example : 在搜索中,我发现类似以下示例的内容

ghc -M *.hs

Forget make; 忘记做 just use cabal-install . 只需使用cabal-install

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM