Elm 0.19 compatibility
timojaask opened this issue · comments
Hello! I've just stumbled upon your awesome library while trying to learn 3D rendering using Elm. So first of all, thanks for publishing this!
However, I wasn't able to install it into my project, because apparently, it's not compatible with the current version of Elm (0.19).
Do you have any plans on updating this library to support Elm 0.19?
UPDATE:
I'm currently attempting to do this myself, but I'm not sure what will come out of it, as my Elm skills are severely limited. The biggest problem seems to be the removal of tuples of a size larger than 2 in the latest version of Elm.
I've been trying to upgrade the project to 0.19 over here: https://github.com/timojaask/quaternion
Tried to use elm-upgrade, which did some things, but still had to fix a bunch of tuples manually.
It seems like I converted the code, but my problem currently is that I don't know how to run the tests. Running elm-test
in the project root throws some odd error that doesn't make much sense to me:
$ elm-test
-- BAD JSON ----------------------------------------------------------- elm.json
The "source-directories" in your elm.json lists the following directory:
/Users/timojaask/projects/temp/quatfix/tests/tests
I cannot find that directory though! Is it missing? Is there a typo?
Compilation failed while attempting to build /Users/timojaask/projects/temp/quatfix/tests/InternalTests.elm /Users/timojaask/projects/temp/quatfix/tests/QnExpect.elm /Users/timojaask/projects/temp/quatfix/tests/QnFuzz.elm /Users/timojaask/projects/temp/quatfix/tests/Tests.elm
I don't have quatfix/tests/tests
anywhere in the "source-direcotires"
. In fact, the root elm.json
doesn't have source-directories
at all, and the one inside the test
folder certainly doesn't contain anything like what the error suggests it might.
So currently I'm stuck at trying to run tests to verify the upgrade.
any progress on this?