moigagoo / norm

A Nim ORM for SQLite and Postgres
https://norm.nim.town
MIT License
378 stars 34 forks source link

Nim2 compatibility #186

Closed PhilippMDoerner closed 1 year ago

PhilippMDoerner commented 1 year ago

closes #182

Makes norm viable with nim devel:

Unrelated to that: I introduced nimble tasks to run the tests because I got tired of looking up the exact command after the third time and I'd prefer just having a nimble task for everything related to a package :sweat_smile:

PhilippMDoerner commented 1 year ago

Okay, here we go. @moigagoo I had to significantly revamp the test-suite, solely so we can start testing multiple nim-versions there instead of just one. Couldn't figure out a way that left the calling code within a container itself.

As was visible with the dbTypes issue, it was quite necessary to start testing for multiple versions.

That did sacrifice the docker-compose commands, but I replaced them with (hopefully) as convenient nimble tasks.

Anyway: