`cabal configure`

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

Patrick


On Tue, May 6, 2014 at 1:45 AM, Andrew Cowie <andrew@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@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



--
Patrick Wheeler
Patrick.John.Wheeler@gmail.com
Patrick.J.Wheeler@rice.edu
Patrick.Wheeler@colorado.edu