diff options
| author | JP Dillingham <jp@dillingham.me> | 2026-06-07 17:17:03 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-07 17:17:03 -0500 |
| commit | 587783be52d7c59b7229b3dba0ea042854df76b2 (patch) | |
| tree | 16b5c69f3363b4e2517b117b5c4eaaae3b223a41 | |
| parent | ec0dd1430f8987fc7cc2550975ff4ec3d80a3147 (diff) | |
| parent | d3dbc50b44ae12a7ae9f10bbef074adcbe75cfa5 (diff) | |
| download | slskd-587783be52d7c59b7229b3dba0ea042854df76b2.tar.gz | |
Merge pull request #1758 from breakone9r/master
Change all the scripts in bin/ to be more OS agnostic.
| -rwxr-xr-x | bin/build | 4 | ||||
| -rw-r--r-- | bin/cover | 4 | ||||
| -rw-r--r-- | bin/lint | 4 | ||||
| -rwxr-xr-x | bin/publish | 4 | ||||
| -rwxr-xr-x | bin/run | 4 | ||||
| -rwxr-xr-x | bin/watch | 4 |
6 files changed, 12 insertions, 12 deletions
@@ -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' @@ -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' @@ -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' @@ -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 @@ -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 |
