Skip to content

How to cabal init library, executable and test suite? #8658

Open
@philderbeast

Description

How do I use cabal init to build a package that has a library, executable and test suite? As posed, this reads like a multichoice question and answer. The list delimiters around [default: Executable] suggest that too.

$ cabal init
What does the package build:
   1) Library
 * 2) Executable
   3) Library and Executable
   4) Test suite
Your choice? [default: Executable] [3,4]
[3,4] is not a valid choice. Please choose a number from 1 to 4.

I don't need help answering this question but as a first time cabal init user but long time cabal user I thought I should show just how much this prompt and response tripped me up.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions