erste Fassung der Berechnung.

This commit is contained in:
Michael Stangl
2026-06-14 08:58:25 +02:00
commit ad6af04801
8 changed files with 896 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
@echo off
REM Aufruf: auslegung.bat <milch_l_tag> [weitere Optionen]
IF NOT DEFINED MILCH_HOME (
SET MILCH_HOME=%~dp0..
IF "%MILCH_HOME:~-1%"=="\" SET MILCH_HOME=%MILCH_HOME:~0,-1%
)
IF NOT DEFINED MILCH_LIB SET MILCH_LIB=%MILCH_HOME%\lib
IF NOT DEFINED MILCH_CFG SET MILCH_CFG=%MILCH_HOME%\cfg
python "%MILCH_LIB%\auslegung.py" --config "%MILCH_CFG%\config.json" %*
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Aufruf: auslegung.sh <milch_l_tag> [weitere Optionen]
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
MILCH_HOME="${MILCH_HOME:-$(dirname "$SCRIPT_DIR")}"
MILCH_LIB="${MILCH_LIB:-$MILCH_HOME/lib}"
MILCH_CFG="${MILCH_CFG:-$MILCH_HOME/cfg}"
exec python3 "$MILCH_LIB/auslegung.py" --config "$MILCH_CFG/config.json" "$@"
+7
View File
@@ -0,0 +1,7 @@
@echo off
REM Projektpfade setzen Datei per "call setenv.bat" einbinden
SET MILCH_HOME=%~dp0..
IF "%MILCH_HOME:~-1%"=="\" SET MILCH_HOME=%MILCH_HOME:~0,-1%
SET MILCH_BIN=%MILCH_HOME%\bin
SET MILCH_LIB=%MILCH_HOME%\lib
SET MILCH_CFG=%MILCH_HOME%\cfg
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Projektpfade setzen Datei muss *gesourced* werden: source setenv.sh
export MILCH_HOME="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
export MILCH_BIN="$MILCH_HOME/bin"
export MILCH_LIB="$MILCH_HOME/lib"
export MILCH_CFG="$MILCH_HOME/cfg"