Etlas User Guide¶
This user guide is still under active development. Please consult the Cabal 18.104.22.168 User Guide as it is very similar to Etlas.
Etlas Packages Support¶
You can install a package by typing:
etlas install [package-name]
Visit eta-hackage to get a list of packages currently supported by Eta.
To know the details of the flags supported by
This will help with a basic suggestion of what each flag does.
Below we note some important commands associated with etlas:
This initializes the skeleton of the project. It asks a few standard questions to build the project template.
As the name implies, this builds the project. This should be executed from the root of the project where the
cabal file exists.
This command builds the source project and actually installs it in the
.etlas directory of the home folder, making it universally accessible across your system.
This command looks for the
main :: IO () method in the code and actually builds and then runs that method.
As the name implies, it is used to configure the project. You can find out more about each flag by typing
etlas configure --help.
Actually execute the tests written in this project.
Generates the haddock documentation of the project.
etlas install --enable-tests
This enables tests and install HSpec (and any other needed dependencies).
It packages up the files needed to build the project into a
tar ball. Head over here for more.
A thorough coverage of all the available fields in a cabal file is mentioned here