Clone ghc into ghc/tmp.
authorAndrey Mokhov <andrey.mokhov@gmail.com>
Fri, 8 Jan 2016 01:58:26 +0000 (01:58 +0000)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Fri, 8 Jan 2016 01:58:26 +0000 (01:58 +0000)
See #110. [skip ci]

.appveyor.yml

index 136bee6..ef66eb7 100644 (file)
@@ -4,13 +4,14 @@ init:
     - cd
     - set MSYSTEM=MINGW64
     - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\local\bin;C:\msys64\usr\bin;%PATH%
+    - set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\local\bin\;%APPVEYOR_BUILD_FOLDER%
     - curl -ostack.zip -LsS --insecure https://www.stackage.org/stack/windows-x86_64
     - 7z x stack.zip stack.exe
     - bash -lc "curl -LsS http://www.haskell.org/ghc/dist/7.10.3/ghc-7.10.3-x86_64-unknown-mingw32.tar.xz | tar -xJ -C /mingw64 --strip-components=1"
     - stack exec -- pacman -S --noconfirm gcc binutils p7zip git
     - echo "" | stack --no-terminal install alex happy shake ansi-terminal mtl
-    - set PATH=%PATH%;C:\Users\appveyor\AppData\Roaming\local\bin\;%APPVEYOR_BUILD_FOLDER%
-    - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc
+    - git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc\tmp
+    - bash -lc "mv /home/ghc/tmp/* /home/ghc"
 
 install:
     - cd C:\msys64\home\ghc