19 lines
274 B
Plaintext
19 lines
274 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
if [ -z "$1" ]
|
||
|
then
|
||
|
echo "No argument supplied"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
dotnet build "$1"
|
||
|
clear
|
||
|
if [ $# -eq 1 ]; then
|
||
|
dotnet run --project "$1"
|
||
|
exit 0
|
||
|
else
|
||
|
dotnet run --project "$1" "$(for i in $(seq 2 $#) ; do
|
||
|
printf "%s" "${!i} "
|
||
|
done)"
|
||
|
fi
|