Haskell
|
Configuration File Parameter |
Description and Expected Behavior |
If True |
If False |
Default |
Command Line Parameter Available? |
|---|---|---|---|---|---|
|
haskell.resolveDependencies |
Whether to resolve Haskell dependencies using the Cabal package manager. |
Resolves Haskell Cabal projects |
Will not resolve Haskell Cabal projects |
True
|
No |
|
haskell.runPreStep |
Runs the 'cabal sandbox init' and 'cabal install' commands on each package/project found. for cabal version 3.* the UA will use the command "cabal new-build" and resolve the file plan.json |
Runs 'cabal install' If sandbox is missing it will run 'cabal sandbox init' (before cabal install) |
The Unified Agent assumes that a sandbox already exists in each package, and will fail otherwise. |
False |
No |
|
haskell.ignoreSourceFiles |
When using the dependency resolver, it will only include package dependencies, not source files. NOTE: Only relevant when fileSystemScan is true. |
Ignores .hs and .lhs files from scan. |
Will not ignore .hs and .lhs files from the scan. |
True |
No |
|
haskell.ignorePreStepErrors |
Ignores errors from preStep commands and continues trying to resolve dependencies. |
Behaves according to 'failErrorLevel' flag |
Will continue the scan, ignoring any errors in the pre-step process. |
False |
No |