name "text-conformance"
description "Differential-testing harness cross-checking sparkles.base.text against independent Unicode oracles"
authors "Petar Kirov"
copyright "Copyright © 2026, Petar Kirov"
license "BSL-1.0"
targetType "executable"
targetName "text-conformance"
targetPath "build"
mainSourceFile "src/app.d"
dflags "-preview=in" "-preview=dip1000"
dependency "sparkles:base" path="../../../.."
dependency "sparkles:core-cli" path="../../../.."
configuration "application" {
targetType "executable"
libs "curl"
dependency "sparkles:ghostty" path="../../../.."
dependency "utf8proc" path="bindings/utf8proc"
dependency "icu" path="bindings/icu"
dependency "notcurses" path="bindings/notcurses"
dependency "pyd" repository="git+https://github.com/ariovistus/pyd.git" version="bdba4ca50d0329780c5317c1a06f8afd4032535b"
subConfiguration "pyd" "python311"
versions "TextConformanceGhostty" "TextConformanceUtf8proc" "TextConformanceIcu" "TextConformanceNotcurses" "TextConformancePython"
dflags "-defaultlib=libphobos2.so" "-L-fuse-ld=gold" platform="linux-dmd"
}
configuration "offline" {
targetType "executable"
versions "TextConformanceNoCurl"
dflags "-defaultlib=libphobos2.so" "-L-fuse-ld=gold" platform="linux-dmd"
}
configuration "unittest" {
targetType "library"
excludedSourceFiles "src/app.d"
libs "curl"
dependency "sparkles:test-runner" path="../../../.."
dflags "-checkaction=context" "-allinst"
dflags "-defaultlib=libphobos2.so" "-L-fuse-ld=gold" platform="linux-dmd"
dflags "--link-defaultlib-shared" "--linker=gold" platform="linux-ldc"
lflags "--export-dynamic" platform="linux-ldc"
}