Skip to content

Commit

Permalink
Add local checkout scripts for osu-queue-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Dec 17, 2022
1 parent 7c56f10 commit 5002d15
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions UseLocalQueueProcessor.ps1
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
16 changes: 16 additions & 0 deletions UseLocalQueueProcessor.sh
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

0 comments on commit 5002d15

Please sign in to comment.