[commit: ghc] wip/nfs-locking: Run cabal in -v3 mode in bash. (351c39f)

git at git.haskell.org git at git.haskell.org
Fri Oct 27 00:28:38 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/nfs-locking
Link       : http://ghc.haskell.org/trac/ghc/changeset/351c39f38b709a6304e8085cae52fe90d23a2cd9/ghc

>---------------------------------------------------------------

commit 351c39f38b709a6304e8085cae52fe90d23a2cd9
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Wed Jan 6 23:56:24 2016 +0000

    Run cabal in -v3 mode in bash.
    
    See #110. [skip ci]


>---------------------------------------------------------------

351c39f38b709a6304e8085cae52fe90d23a2cd9
 .appveyor.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index 0b90efa..19236d4 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -12,12 +12,12 @@ install:
     - bash -lc "mkdir -p /usr/local/bin"
     - bash -lc "curl -LsS https://www.haskell.org/cabal/release/cabal-install-1.22.0.0/cabal-1.22.0.0-i386-unknown-mingw32.tar.gz | tar -xz -C /usr/local/bin"
     - bash -lc "mv /usr/local/bin/cabal-1.22.0.0-i386-unknown-mingw32.exe /usr/local/bin/cabal.exe"
-    - cabal update -v3
-    - cabal install -j --prefix=/usr/local alex happy
+    - bash -lc "cabal update -v3"
+    - bash -lc "cabal install -j --prefix=/usr/local alex happy"
     - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\mingw64\home\ghc\tmp
     - bash -lc "mv /home/ghc/tmp/* /home/ghc"
     - cd C:\msys64\mingw64\home\ghc\shake-build
-    - cabal install --only-dependencies
+    - bash -lc "cd /home/ghc/shake-build && cabal install --only-dependencies"
 
 build_script:
     - bash -lc "cd /home/ghc && ./boot"



More information about the ghc-commits mailing list