Say I have a folder with some .hs
files and I want to wrap it in a project
If I have cabal install
and stack
, it doesn't really matter:
- use
cabal init
(interactive selection) - keep going
stack init
but when I just go easy - just set the stack
route, I don’t have cabal install
access - onlystack
Now it stack init
does not work without a file .cabal
(or .package
), but for stack new
I do not know a template that does not install additional files / folders.
Probably I am missing something obvious, and there is a parameter stack
/ command for this
If not : What is the right way to handle this? Install cabal-install
?
source
share