cd46edcb67
CI / test (push) Has been cancelled
CI / verify (push) Has been cancelled
Clients CI / build-server (push) Has been cancelled
Clients CI / test-python (push) Has been cancelled
Clients CI / test-javascript (push) Has been cancelled
Clients CI / test-nim (push) Has been cancelled
Clients CI / test-rust (push) Has been cancelled
Storage fixes: - Fix bloom filter hash2 OverflowDefect (uint64 instead of int Hash) - Fix MemTable.put size calculation on overwrite (was leaking size) - Fix fuzz_test duplicate-key issues in LSM delete and SSTable tests Test fixes: - Fix stress_test.nim: replace deprecated threadpool with std/threads - Fix fuzz_test.nim: add missing imports (tables, algorithm, sets) - Fix fuzz_test.nim: var sst for close() compatibility - Remove unused imports from test_all.nim and bench_all.nim Docker / CI fixes: - Fix Dockerfile.source: invalid nimlang/nim:2.2.10-alpine tag → 2.2.10 + ubuntu:24.04 runtime - Fix Dockerfile.source healthcheck (--spider → -qO- for 200 OK) - Fix Dockerfile run comment ports (9470/9471 → 9912/9913) - Fix scripts/docker-run.sh healthcheck port (9470 → 9912) - Add ARG BUILD_DATE/VCS_REF to Dockerfile for docker-build.sh - Update all version strings 1.1.4 → 1.1.6 across nimble/docker/source/docs
30 lines
943 B
Nim
30 lines
943 B
Nim
# Package
|
|
version = "1.1.6"
|
|
author = "BaraDB Team"
|
|
description = "BaraDB — Multimodal database written in Nim"
|
|
license = "Apache-2.0"
|
|
srcDir = "src"
|
|
bin = @["baradadb", "baramcp"]
|
|
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"
|
|
exec "nim c --debugger:native --linedir:on -o:build/baramcp src/baramcp.nim"
|
|
|
|
task build_release, "Build release version":
|
|
exec "nim c -d:release --opt:speed -o:build/baradadb src/baradadb.nim"
|
|
exec "nim c -d:release --opt:speed -o:build/baramcp src/baramcp.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"
|