[Haskell-cafe] Cabal exit codes when work to be done

Andrew Cowie andrew at operationaldynamics.com
Tue May 6 06:45:03 UTC 2014


Is there a way to run e.g. `cabal install --only-dependencies` and have
it return a non-zero exit code if, for instance, there IS something to
do?

I tried `--dry-run` but the exit code is still 0 if something is
missing.

[or have it return non-zero if there isn't work to do, or...]

AfC
Sydney




More information about the Haskell-Cafe mailing list