24 lines
496 B
Nim
24 lines
496 B
Nim
# Package
|
|
|
|
version = "4.3.0"
|
|
author = "Jonathan Bernard"
|
|
description = "Lightweight Postgres ORM for Nim."
|
|
license = "GPL-3.0"
|
|
srcDir = "src"
|
|
|
|
|
|
|
|
# Dependencies
|
|
|
|
requires @["nim >= 1.4.0", "uuids"]
|
|
requires "namespaced_logging >= 2.0.2"
|
|
|
|
|
|
# Tasks
|
|
|
|
task unittest, "Runs the unit test suite.":
|
|
exec "nim c -r --path:src tests/test_datetime"
|
|
|
|
task integrationtest, "Runs the PostgreSQL integration test suite.":
|
|
exec "nim c -r --path:src tests/test_datetime_postgres"
|