How to build an specific stack executable file, ie. those specified in projectname.cabal
, like:
executable executable-name
hs-source-dirs: tools
main-is: ExecutableModule.hs
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
build-depends: base
, hsass
, hlibsass
I would need to compile executable-name
and no other. It would be something like:
stack build --executable executable-name