Home > Net >  stack run in multi package project
stack run in multi package project

Time:03-04

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

CodePudding user response:

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