Files
Baradb/baradadb.nimble
T
dimgigov 58b7598155
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
fix(dev): streamline build config for new contributors
- Add --path:src and --threads:on to nim.cfg so tests compile without manual flags
- Add tests/config.nims for automatic path resolution in test directory
- Simplify nimble task definitions (remove redundant flags now in nim.cfg)
- Fix Dockerfile.source comment: remove obsolete nimmax reference

This makes 'nim c tests/test_all.nim' and 'nimble test' work out of the box.
2026-05-16 03:20:43 +03:00

28 lines
782 B
Nim

# Package
version = "1.1.2"
author = "BaraDB Team"
description = "BaraDB — Multimodal database written in Nim"
license = "Apache-2.0"
srcDir = "src"
bin = @["baradadb"]
binDir = "build"
# Dependencies
requires "nim >= 2.2.0"
requires "https://github.com/katehonz/hunos >= 1.2.0"
requires "jwt >= 0.3.0"
requires "checksums >= 0.2.0"
# Tasks
task build_debug, "Build debug version":
exec "nim c --debugger:native --linedir:on -o:build/baradadb src/baradadb.nim"
task build_release, "Build release version":
exec "nim c -d:release --opt:speed -o:build/baradadb src/baradadb.nim"
task test, "Run all tests":
exec "nim c -r tests/test_all.nim"
task bench, "Run benchmarks":
exec "nim c -d:release -r benchmarks/bench_all.nim"