Closed nmattia closed 7 years ago
Hi @nmattia, this is fantastic! Thanks for adding some tests. I think we can add some more edge cases for the parser and quasiquoter at some point, but this is a great start!
I did try to run this with cabal configure --enable-tests --ghcjs && cabal test
and ran into a few snags which I commented on. Also, can you add the test running command to the .travis.yml
file? Currently it just runs the build.
I'm realizing from your email that I was running on a later reflex version when testing this, hence my Text suggestions. So I guess you're right to use Strings here, but could you update the cabal file with bounds?
I've updated the stack file to use GHC 8 and updated the code accordingly. I've also added bounds on the cabal though the code as it is now should build with both String
and Text
.
@dackerman For travis: would you rather build the project with nix or stack? Ideally we'd make sure it builds with both.
@nmattia if you want to add stack build/test to travis as well, that works for me, I just want to have the tests being run in some way.
Stack build on travis is being very picky, I'm giving up for now.
Yeah travis is annoying to set up - really long feedback cycle. We can worry about it later - this looks good for now!
I'm doing some work on a separate branch and I don't want to break anything. @dackerman have I missed a functionality?