Closed killy971 closed 10 years ago
Example to use cabal-1.18
instead of cabal
:
run-cabal-test --cabal-name=cabal-1.18
Original cabal test
options can still be used, as in the following example:
run-cabal-test --cabal-name=cabal-1.18 --show-details=always
The current implementation doesn't rely on the cmdargs
package at the moment, for simplification.
Introduce an optional argument to the
run-cabal-test
command which will allow to specify a custom command name to use instead ofcabal
. The argument will be named--cabal-name
, of default valuecabal
.This will simplify Travis setups such as the ones based on multi-ghc-travis, for example to replace:
by: