A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://docs.haskellstack.org/en/stable/commands/init_command/ below:

init - Stack

The stack init commandΒΆ
stack init [DIR(S)] [--omit-packages] [--force] [--ignore-subdirs]

stack init initialises Stack's default project-level configuration file (stack.yaml) for an existing project, based on the Cabal file or package.yaml file for each of its packages.

By default:

If a snapshot is specified at the command line, stack init will try to use it. For further information, see the documentation for the --snapshot and --resolver options.

Otherwise, stack init will try to use the following Stackage snapshots in order of preference, using the first that is compatable: the most recent LTS Haskell, the most recent Stackage Nightly, and other LTS Haskell (most recent first).

Note

If Cabal (the tool) has been used in the directory, consider commanding cabal clean before applying stack init, in case Cabal has created any unintended Cabal files.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4