Move everything out
This commit is contained in:
20
bin/fasto.sh
Executable file
20
bin/fasto.sh
Executable file
@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e # Die on first error.
|
||||
|
||||
base_dir="$(dirname "$0")"
|
||||
|
||||
# Determine location of executable. Does this work on all platforms?
|
||||
if ! [ "$FASTO" ]; then
|
||||
FASTO="$base_dir/../Fasto/bin/Debug/net6.0/Fasto.dll"
|
||||
if [[ $(uname -o 2> /dev/null) = "Cygwin" ]]; then
|
||||
FASTO="$(cygpath -w "FASTO")"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Verify that .NET is installed.
|
||||
dotnet --version &> /dev/null || (echo "Could not find dotnet" && exit 1)
|
||||
|
||||
dotnet $FASTO "$@"
|
||||
|
||||
|
Reference in New Issue
Block a user