-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add local checkout scripts for
osu-queue-processor
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Run this script to use a local copy of osu-queue-processor rather than fetching it from nuget. | ||
# It expects the osu-queue-processor directory to be at the same level as the osu-queue-score-statistics directory. | ||
|
||
|
||
$CSPROJ="osu.Server.Queues.ScoreStatisticsProcessor/osu.Server.Queues.ScoreStatisticsProcessor.csproj" | ||
$SLN="osu.Server.Queues.ScoreStatisticsProcessor.sln" | ||
|
||
$DEPENDENCIES=@( | ||
"..\osu-queue-processor\osu.Server.QueueProcessor\osu.Server.QueueProcessor.csproj" | ||
) | ||
|
||
|
||
dotnet remove $CSPROJ package ppy.osu.Server.OsuQueueProcessor | ||
|
||
dotnet sln $SLN add $DEPENDENCIES | ||
dotnet add $CSPROJ reference $DEPENDENCIES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/sh | ||
|
||
# Run this script to use a local copy of osu-queue-processor rather than fetching it from nuget. | ||
# It expects the osu-queue-processor directory to be at the same level as the osu-queue-score-statistics directory. | ||
|
||
|
||
CSPROJ="osu.Server.Queues.ScoreStatisticsProcessor/osu.Server.Queues.ScoreStatisticsProcessor.csproj" | ||
SLN="osu.Server.Queues.ScoreStatisticsProcessor.sln" | ||
|
||
DEPENDENCIES="../osu-queue-processor/osu.Server.QueueProcessor/osu.Server.QueueProcessor.csproj" | ||
|
||
|
||
dotnet remove $CSPROJ package ppy.osu.Server.OsuQueueProcessor | ||
|
||
dotnet sln $SLN add $DEPENDENCIES | ||
dotnet add $CSPROJ reference $DEPENDENCIES |