Fix build and run scripts (#4655)

This commit is contained in:
Nicolas Dorier 2023-02-16 18:31:33 +09:00 committed by GitHub
parent 9344113ae4
commit 9b865ef849
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 4 deletions

View File

@ -1 +1 @@
dotnet build -c Release .\BTCPayServer\BTCPayServer.csproj dotnet publish --no-cache -o BTCPayServer/bin/Release/publish/ -c Release .\BTCPayServer\BTCPayServer.csproj

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/bin/bash
dotnet build -c Release BTCPayServer/BTCPayServer.csproj dotnet publish --no-cache -o BTCPayServer/bin/Release/publish/ -c Release BTCPayServer/BTCPayServer.csproj

View File

@ -1 +1,4 @@
dotnet run --no-launch-profile --no-build -c Release --project .\BTCPayServer\BTCPayServer.csproj -- $args pushd
cd BTCPayServer/bin/Release/publish/
dotnet "BTCPayServer.dll" $args
popd

3
run.sh
View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
dotnet run --no-launch-profile --no-build -c Release --project "BTCPayServer/BTCPayServer.csproj" -- $@ cd BTCPayServer/bin/Release/publish/
dotnet "BTCPayServer.dll" $@