[Haskell-cafe] stack, git, directory structure
plredmond at gmail.com
Mon May 29 06:49:11 UTC 2017
You can name the source files whatever you like, and you can associate them
with your desired ececutable names in the cabal file.
Eg. In a cabal file:
Where "zshhs" is the desired binary output name, and the directory
containing this cabal file also contains "src/ZshClone.hs" with your main
On Sun, May 28, 2017 at 14:46 Dennis Raddle <dennis.raddle at gmail.com> wrote:
> I got a private reply which helps but it made me think of another question.
> In the stack demo, there's one executable 'helloworld-exe' which is
> compiled from app/Main.hs.
> If I'm going to have several executables, what do I call the source files,
> and how do I control the file name of the executable that gets built?
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe