cartel-0.18.0.2: Specify Cabal files in Haskell

Safe HaskellSafe
LanguageHaskell2010

Cartel.Init

Description

Generates a skeletal file structure to start a new Cartel-based project. Similar to cabal init or stack new.

Synopsis

Documentation

cartelInit :: IO () Source #

Runs cartel-init, retrieving all configuration information from the command line.

data Github Source #

Configuration information for Github.

Constructors

Github 

Fields

Instances

data GitInit Source #

Constructors

GitInit 

Fields

Instances

data License Source #

What kind of license you want to use. Currently the only choices are BSD3 or AllRightsReserved.

Constructors

BSD3 
AllRightsReserved 

data TreeInitMode Source #

Constructors

MakeTreeOnly

Create a cabal file and write it with a skeleton of files.

MakeGit GitInit

Create a cabal file, write it with a skeleton of files, and initialize a Git repository.

data TreeInit Source #

Constructors

TreeInit 

Fields

data InitMode Source #

What to do when running cabal-init.

Constructors

ShowCabalOnly

Only show a cabal file.

MakeTree TreeInit

Create a cabal file and write it with a skeleton of files.

data Init Source #

Configuration options. Some of these can be overridden on the command line.

Constructors

Init 

Fields

Instances

cartelInitWithSettings :: Init -> IO () Source #

Runs cartel-init, but with the settings you compile in. Retrieves the project name from the command line. Has a command-line option, --settings, that displays the built-in settings and then exits.