haskell / haskell/cabal

Set default run target

Open
#8,547 7 comments 2 reactions 0 assignees View on GitHub
cabal-install: cmd/run type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

I have a test-suite and an executable, and I want to automatically run the executable when I type `cabal run`. However, it says that the run command is for running a single executable at once (since it doesn't know whether to run the test or the exe). How do I make cabal ignore test suites when executing `cabal run`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.