aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-04-24 09:44:44 -0500
committerJP Dillingham <jp@dillingham.me>2026-04-24 09:44:44 -0500
commit64fb4c12a013ed1b50ddcf57fb4bd16decb928f0 (patch)
tree3d647cf4f912fa6437e0d0030e99f577e6f0a2c7 /bin
parent19fba8293b472939d74ed23232577cbfdf523586 (diff)
parentfc722e4a78aa5369fcd5ca0d8e88bd98d874a1d8 (diff)
downloadslskd-64fb4c12a013ed1b50ddcf57fb4bd16decb928f0.tar.gz
Merge remote-tracking branch 'origin/master' into retries
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build3
-rwxr-xr-xbin/run21
2 files changed, 2 insertions, 22 deletions
diff --git a/bin/build b/bin/build
index a5ca4f29..ab469a32 100755
--- a/bin/build
+++ b/bin/build
@@ -94,9 +94,6 @@ else
else
echo $'\n\t🧪 dotnet test --configuration Release ../../tests/slskd.Tests.Unit\n'
dotnet test --configuration Release ../../tests/slskd.Tests.Unit
-
- echo $'\n\t🧪 dotnet test --configuration Release ../../tests/slskd.Tests.Integration\n'
- dotnet test --configuration Release ../../tests/slskd.Tests.Integration
fi
fi
diff --git a/bin/run b/bin/run
index c62e36df..f57a88a5 100755
--- a/bin/run
+++ b/bin/run
@@ -1,20 +1,3 @@
-if [ -z "$1" ]; then
- echo "💥 error: no image specified; provide a valid image and tag (e.g. slskd/slskd:latest)"
- exit 1
-fi
+#!/bin/bash
-docker run -i \
- -p 5030:5030 \
- -p $SLSK_LISTEN_PORT:$SLSK_LISTEN_PORT \
- -v $SLSK_OUTPUT_DIR:/var/slsk/download \
- -v $SLSK_SHARED_DIR:/var/slsk/shared \
- -e "SLSK_USERNAME=$SLSK_USERNAME" \
- -e "SLSK_PASSWORD=$SLSK_PASSWORD" \
- -e "SLSK_LISTEN_PORT=$SLSK_LISTEN_PORT" \
- -e "SLSK_ENABLE_DNET=true" \
- -e "SLSK_DNET_CHILD_LIMIT=10" \
- -e "SLSK_DIAGNOSTIC=$SLSK_DIAGNOSTIC" \
- -e "SLSK_ENABLE_SECURITY=$SLSK_ENABLE_SECURITY" \
- -e "SLSK_CONNECT_TIMEOUT=5000" \
- -e "SLSK_INACTIVITY_TIMEOUT=15000" \
- $1 \ No newline at end of file
+dotnet run --project src/slskd/slskd.csproj \ No newline at end of file