Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added build support for stack #7

Merged
merged 2 commits into from Oct 27, 2016
Merged

Added build support for stack #7

merged 2 commits into from Oct 27, 2016

Conversation

xicesky
Copy link

@xicesky xicesky commented Oct 27, 2016

I added a stack.yaml so you can build this project using stack. I'd like to update the project to a more recent ghc version in a seperate pull request later.
Some tests seem to be failing when using "stack test". I don't think this has anything to do with stack itself - is there a way to get clean tests using specific library versions?

https://www.stackage.org/
This project compiles using LTS Haskell 2.22 (ghc-7.8.4)
Tests seem to fail, i don't think this has anything to do with stack.
@xicesky
Copy link
Author

xicesky commented Oct 27, 2016

You could probably add this to the README, too, but i didn't want to change too much:
This projects can be built using stack:

  • stack setup
  • stack build
  • stack test

Tests run clean now.
@xicesky
Copy link
Author

xicesky commented Oct 27, 2016

I downgraded from stackage lts-2 to lts-1.15, tests run cleanly now. The problem has to be with one of the following libraries:

MonadRandom 0.3.0.1 -> 0.3.0.2
primitive 0.5.4.0 -> 0.6
random 1.0.1.1 -> random 1.1

I'll try to fix this later - but for now the old version builds and tests with no changes to the actual code.

@astanin astanin merged commit 32824a1 into astanin:master Oct 27, 2016
@astanin
Copy link
Owner

astanin commented Oct 27, 2016

It works. Great! Thank you. I'll update the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants