nissy-core

The "engine" of nissy, including the H48 optimal solver.
git clone https://git.tronto.net/nissy-core
Download | Log | Files | Refs | README | LICENSE

commit e261c743dea0184ca32740160b2f101325d366fd
parent 959466eb926e09af5d846f0f043415f47b9cda12
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date:   Wed,  7 May 2025 13:50:52 +0200

Fix build small errors

Diffstat:
Mbuild | 20+++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/build b/build @@ -258,8 +258,10 @@ dotest() { } build_test() { - pattern="$1" - shift + if [ -n "$1" ]; then + pattern="$1" + shift + fi debug="yes" build_nissy for t in test/*; do @@ -273,12 +275,12 @@ tool_usage() { } build_tool() { - pattern="$1" - shift - if [ -z "$pattern" ]; then + if [ -z "$1" ]; then tool_usage exit 1 fi + pattern="$1" + shift build_nissy @@ -324,8 +326,12 @@ if [ "$1" = "-d" ]; then shift fi -target=${1:-"nissy"} -shift +target="$1" +if [ -z "$target" ]; then + target="nissy" +else + shift +fi case "$target" in help|config|clean|\