first commit

This commit is contained in:
Ramiro Paz
2026-03-11 10:54:11 -03:00
parent bfeecb334a
commit aa0525a78c
85 changed files with 14079 additions and 0 deletions

21
tools/print-version.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
# This allow to set the default path, if script used outside makefile
if [ -z "$OUT_PATH" ]; then
OUT_PATH="./build/out/distribution"
fi
# if no environment argument, set to default value dev
if [ -z "$1" ]; then
ENV="dev"
else
ENV="$1"
fi
if COMMIT_MSG=$(QUANTEX_ENVIRONMENT=$ENV "${OUT_PATH}/qfixpt" -v 2>/dev/null); then
echo "$COMMIT_MSG"
else
echo "Unable to get qfixpt version."
file "${OUT_PATH}/qfixpt"
fi