aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2026-06-07 17:17:03 -0500
committerGitHub <noreply@github.com>2026-06-07 17:17:03 -0500
commit587783be52d7c59b7229b3dba0ea042854df76b2 (patch)
tree16b5c69f3363b4e2517b117b5c4eaaae3b223a41 /bin
parentec0dd1430f8987fc7cc2550975ff4ec3d80a3147 (diff)
parentd3dbc50b44ae12a7ae9f10bbef074adcbe75cfa5 (diff)
downloadslskd-587783be52d7c59b7229b3dba0ea042854df76b2.tar.gz
Merge pull request #1758 from breakone9r/master
Change all the scripts in bin/ to be more OS agnostic.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build4
-rw-r--r--bin/cover4
-rw-r--r--bin/lint4
-rwxr-xr-xbin/publish4
-rwxr-xr-xbin/run4
-rwxr-xr-xbin/watch4
6 files changed, 12 insertions, 12 deletions
diff --git a/bin/build b/bin/build
index ab469a32..8283bf25 100755
--- a/bin/build
+++ b/bin/build
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
web_only=false
@@ -97,4 +97,4 @@ else
fi
fi
-echo $'\n\t๐ŸŽ‰ build succeded!\n' \ No newline at end of file
+echo $'\n\t๐ŸŽ‰ build succeded!\n'
diff --git a/bin/cover b/bin/cover
index 93b364aa..e270f951 100644
--- a/bin/cover
+++ b/bin/cover
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
echo $'\n\t๐Ÿงช dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=TestResults/lcov.info\n'
dotnet test -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=TestResults/lcov.info
-echo $'\n\t๐ŸŽ‰ coverage collection succeded!\n' \ No newline at end of file
+echo $'\n\t๐ŸŽ‰ coverage collection succeded!\n'
diff --git a/bin/lint b/bin/lint
index 4daf9c42..ffb49b35 100644
--- a/bin/lint
+++ b/bin/lint
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
fix=false
@@ -27,4 +27,4 @@ if [ "$fix" == false ]; then
else
echo $'\n๐Ÿ› ๏ธ dotnet format --verbosity normal\n'
dotnet format --verbosity normal
-fi \ No newline at end of file
+fi
diff --git a/bin/publish b/bin/publish
index 512fb9f6..ee1050ed 100755
--- a/bin/publish
+++ b/bin/publish
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usrbin/env bash
set -e
prebuild=true
@@ -111,4 +111,4 @@ echo $'\n\t๐Ÿ“ '$(pwd)$'\n'
echo $'\n\t๐Ÿ“ฆ artifacts:\n'
ls -la .
-echo $'\n\t๐ŸŽ‰ publish succeeded!\n' \ No newline at end of file
+echo $'\n\t๐ŸŽ‰ publish succeeded!\n'
diff --git a/bin/run b/bin/run
index f57a88a5..7f7ccf48 100755
--- a/bin/run
+++ b/bin/run
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
-dotnet run --project src/slskd/slskd.csproj \ No newline at end of file
+dotnet run --project src/slskd/slskd.csproj
diff --git a/bin/watch b/bin/watch
index 0605b83f..8adb3b39 100755
--- a/bin/watch
+++ b/bin/watch
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [ "$1" == "--web" ]; then
cd src/web
@@ -6,4 +6,4 @@ if [ "$1" == "--web" ]; then
npm start
else
dotnet watch --project src/slskd/slskd.csproj run
-fi \ No newline at end of file
+fi