【发布时间】:2016-07-08 07:58:09
【问题描述】:
如何构建特定的堆栈可执行文件,即。 projectname.cabal 中指定的那些,例如:
executable executable-name
hs-source-dirs: tools
main-is: ExecutableModule.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, hsass
, hlibsass
我需要编译 executable-name 而没有其他。它会是这样的:
stack build --executable executable-name
【问题讨论】:
标签: haskell build binary executable haskell-stack