Update cabal command syntax in .travis.yml
authorWuzzy <Wuzzy2@mail.ru>
Fri, 11 Oct 2019 13:35:13 +0200
changeset 15485 421da44ff218
parent 15484 b9b48e8b5ec4
child 15486 4837e3c7859a
Update cabal command syntax in .travis.yml
.travis.yml
--- a/.travis.yml	Fri Oct 11 13:33:56 2019 +0200
+++ b/.travis.yml	Fri Oct 11 13:35:13 2019 +0200
@@ -74,11 +74,11 @@
     # use cabal install haskell deps, pas2c ones are covered by server
     if [[ "$BUILD_ARGS" != *"NOSERVER"* ]]; then
       cabal update
-      cabal install --only-dependencies gameServer/hedgewars-server.cabal
+      cabal install --only-dependencies --cabal-file=gameServer/hedgewars-server.cabal
     fi
     if [[ "$BUILD_ARGS" == *"BUILD_ENGINE_C"* ]]; then
       cabal update
-      cabal install --only-dependencies tools/pas2c/pas2c.cabal
+      cabal install --only-dependencies --cabal-file=tools/pas2c/pas2c.cabal
     fi
     # avoid installing Sparkle, add default unit path
     export BUILD_ARGS="$BUILD_ARGS -DNOAUTOUPDATE=1"