mirror of
https://github.com/ppy/osu
synced 2024-12-30 19:02:27 +00:00
17 lines
442 B
Bash
Executable File
17 lines
442 B
Bash
Executable File
echo "Installing Cake.Tool..."
|
|
dotnet tool install Cake.Tool --global --version 0.35.0
|
|
|
|
# Parse arguments.
|
|
CAKE_ARGUMENTS=()
|
|
for i in "$@"; do
|
|
case $1 in
|
|
-s|--script) SCRIPT="$2"; shift ;;
|
|
--) shift; CAKE_ARGUMENTS+=("$@"); break ;;
|
|
*) CAKE_ARGUMENTS+=("$1") ;;
|
|
esac
|
|
shift
|
|
done
|
|
|
|
echo "Running build script..."
|
|
dotnet cake ./build/build.cake --bootstrap
|
|
dotnet cake ./build/build.cake "${CAKE_ARGUMENTS[@]}" |