-exe in name of executable

11 views
Skip to first unread message

kees Bleijenberg

unread,
Nov 23, 2016, 5:37:21 AM11/23/16
to haskell-stack
If I do 'stack build' stack builds the executable XXXXX-exe.exe.
Why is that -exe in the name? How do I let stack build XXXXX.exe?

Kees

Michael Snoyman

unread,
Nov 23, 2016, 5:46:35 AM11/23/16
to kees Bleijenberg, haskell-stack
Just remove the -exe in the .cabal file. You can name the file whatever you want there.

--
You received this message because you are subscribed to the Google Groups "haskell-stack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscribe@googlegroups.com.
To post to this group, send email to haskel...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/9c3e1902-4b48-48d8-a651-69415c0fe4ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Yann Esposito

unread,
Nov 23, 2016, 9:09:32 AM11/23/16
to haskell-stack
Also note that not all templates add a `-exe` to the executable name in the cabal file.
You can access a list of templates by doing `stack templates` if you are curious.
Reply all
Reply to author
Forward
0 new messages