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.
This commit is contained in:
+3
-3
@@ -4,9 +4,9 @@
|
||||
# └─────────────────────────────────────────────────────────┘
|
||||
#
|
||||
# Този Dockerfile build-ва BaraDB от source код.
|
||||
# ВНИМАНИЕ: Изисква локални nimble пакети (hunos, nimmax), които
|
||||
# не са в публичния nimble repository. Преди build трябва да:
|
||||
# 1. symlink-нете или копирате hunos/ и nimmax/ в проекта, или
|
||||
# ВНИМАНИЕ: Изисква локален nimble пакет (hunos), който
|
||||
# не е в публичния nimble repository. Преди build трябва да:
|
||||
# 1. symlink-нете или копирате hunos/ в проекта, или
|
||||
# 2. копирате ~/.nimble/pkgs2 в builder стейджа.
|
||||
#
|
||||
# Build:
|
||||
|
||||
Reference in New Issue
Block a user