diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..48e8fa16d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,17 @@ +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +*.c text +*.h text + +# Declare files that will always have CRLF line endings on checkout. +*.sln text eol=crlf + +# Declare files that will always have CRLF line endings on checkout. +*.sh text eol=lf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary \ No newline at end of file diff --git a/build.sh b/build.sh index edb226498..12458670f 100755 --- a/build.sh +++ b/build.sh @@ -1 +1,3 @@ +#!/bin/bash + dotnet build -c Release BTCPayServer/BTCPayServer.csproj diff --git a/run.sh b/run.sh index cd596893e..e1a9c7c9a 100755 --- a/run.sh +++ b/run.sh @@ -1 +1,3 @@ +#!/bin/bash + dotnet run --no-launch-profile --no-build -c Release -p "BTCPayServer/BTCPayServer.csproj" -- "$@"