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

Patrick Wheeler patrick.john.wheeler at gmail.com
Tue May 6 06:59:30 UTC 2014

`cabal configure`

returns a non-zero exit code if something needs to be installed.  Does that
work as an alternative?


On Tue, May 6, 2014 at 1:45 AM, Andrew Cowie <andrew at operationaldynamics.com
> wrote:

> 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
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

Patrick Wheeler
Patrick.John.Wheeler at gmail.com
Patrick.J.Wheeler at rice.edu
Patrick.Wheeler at colorado.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140506/69814d3d/attachment.html>

More information about the Haskell-Cafe mailing list