1
0
Fork 0
mirror of https://github.com/ppy/osu-tools.git synced 2025-06-09 17:44:46 +09:00
osu-tools/UseLocalOsu.sh
2021-03-22 18:09:52 +09:00

24 lines
917 B
Bash
Executable file

#!/bin/sh
# Run this script to use a local copy of osu rather than fetching it from nuget.
# It expects the osu directory to be at the same level as the osu-tools directory
CSPROJ="PerformanceCalculator/PerformanceCalculator.csproj"
SLN="osu.Tools.sln"
DEPENDENCIES="../osu/osu.Game.Rulesets.Catch/osu.Game.Rulesets.Catch.csproj
../osu/osu.Game.Rulesets.Mania/osu.Game.Rulesets.Mania.csproj
../osu/osu.Game.Rulesets.Osu/osu.Game.Rulesets.Osu.csproj
../osu/osu.Game.Rulesets.Taiko/osu.Game.Rulesets.Taiko.csproj
../osu/osu.Game/osu.Game.csproj"
dotnet remove $CSPROJ package ppy.osu.Game
dotnet remove $CSPROJ package ppy.osu.Game.Rulesets.Osu
dotnet remove $CSPROJ package ppy.osu.Game.Rulesets.Taiko
dotnet remove $CSPROJ package ppy.osu.Game.Rulesets.Catch
dotnet remove $CSPROJ package ppy.osu.Game.Rulesets.Mania
dotnet sln $SLN add $DEPENDENCIES
dotnet add $CSPROJ reference $DEPENDENCIES