Commit 0c3a6598 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Use shallow git clone.

See #110. [skip ci]
parent 5f80d4f2
......@@ -16,7 +16,14 @@ install:
- 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
- git clone --recursive git://git.haskell.org/ghc.git C:\msys64\home\ghc\tmp
- git config --global url."git://github.com/ghc/packages-".insteadOf git://github.com/ghc/packages/
- git config --global url."http://github.com/ghc/packages-".insteadOf http://github.com/ghc/packages/
- git config --global url."https://github.com/ghc/packages-".insteadOf https://github.com/ghc/packages/
- git config --global url."ssh://git@github.com/ghc/packages-".insteadOf ssh://git@github.com/ghc/packages/
- git config --global url."git@github.com:/ghc/packages-".insteadOf git@github.com:/ghc/packages/
- git clone https://github.com/ghc/ghc --recurse-submodules --depth 1 C:\msys64\home\ghc\tmp
- bash -lc "mv /home/ghc/tmp/* /home/ghc"
- cd C:\msys64\home\ghc
- stack exec -- perl boot
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment