You may need to configure Stack to work with an existing project that has one or more Cabal files but no Stack project-level configuration file (stack.yaml
, by default).
stack init
command¶
The stack init
command:
--ignore-subdirs
) and determines the packages and versions they requireIf stack init
finds a match, it will generate a stack.yaml
file.
You can specify the directory, or directories to include in the search for Cabal files.
Thestack init --force
flag¶
Set the flag to force the over-writing of any existing stack.yaml
file.
stack init --ignore-subdirs
flag¶
Set the flag to not search for Cabal files in subdirectories.
Thestack init --omit-packages
flag¶
Set the flag to exclude any conflicting or incompatible user packages.
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