stack run in multi package project

Viewed 70

Is there a way to specify which executable to run (with stack run) when I am working with a Stack multi package project?

1 Answers

My problem was that I was using the package name rather than the executable name in my stack run command:

  • Wrong: stack run foo
  • Correct: stack run foo-exe
Related