Skip to content

Commit

Permalink
fix: change appveyor config file to 64 bit (stack & generated binary) (
Browse files Browse the repository at this point in the history
…#170)

* fix: change appveyor config file to 64 bit (stack & generated binary)

closes #169

* docs: add documentation in CHANGELOG for issue #169
  • Loading branch information
pascalpoizat authored and chshersh committed Oct 12, 2018
1 parent f8ff511 commit 2eedfc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
1.2.0
=======

* [#169](https://github.com/kowainik/summoner/issues/169):
Make AppVeyor use the 64bits version of stack and build for 64 bits.
* [#154](https://github.com/kowainik/summoner/issues/154):
* Add `Link` constructor to `Source` data type.

Expand Down
4 changes: 2 additions & 2 deletions src/Summoner/Template.hs
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ createProjectTemplate ProjectData{..} = Dir (toString repo) $
# http://help.appveyor.com/discussions/problems/6312-curl-command-not-found
- set PATH=C:\Program Files\Git\mingw64\bin;%PATH%

- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-i386
- curl -sS -ostack.zip -L --insecure http://www.stackage.org/stack/windows-x86_64
- 7z x stack.zip stack.exe

clone_folder: "c:\\stack"
Expand All @@ -640,5 +640,5 @@ createProjectTemplate ProjectData{..} = Dir (toString repo) $
- stack setup > nul
# The ugly echo "" hack is to avoid complaints about 0 being an invalid file
# descriptor
- echo "" | stack --no-terminal build --bench --no-run-benchmarks --test
- echo "" | stack --arch x86_64 --no-terminal build --bench --no-run-benchmarks --test
|]

0 comments on commit 2eedfc3

Please sign in to comment.