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 () #

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

data Github #

Configuration information for Github.

Constructors

Github 

Fields

Instances

data GitInit #

Constructors

GitInit 

Fields

Instances

data License #

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

Constructors

BSD3 
AllRightsReserved 

data TreeInitMode #

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 #

Constructors

TreeInit 

Fields

Instances

data InitMode #

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.

Instances

data Init #

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

Constructors

Init 

Fields

Instances

Show Init # 

Methods

showsPrec :: Int -> Init -> ShowS #

show :: Init -> String #

showList :: [Init] -> ShowS #

cartelInitWithSettings :: Init -> IO () #

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.