diff --git a/.gitignore b/.gitignore index 25f0bd3..1f8406b 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ obj/ /packages/ *.blob .idea/ -*.db \ No newline at end of file +*.db +Publish/* \ No newline at end of file diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..9a2bb9e --- /dev/null +++ b/publish.sh @@ -0,0 +1,21 @@ +#!/usr/bin/env bash + +# Publish Server +echo "Running dotnet publish for server" +dotnet publish \ + -o Publish/esusshots-server-linux-x64 \ + -r linux-x64 \ + -c Release \ + /p:PublishSingleFile=true \ + /p:PublishTrimmed=true \ + EstusShots.Server/EstusShots.Server.csproj + +# Publish GTK Client +echo "Running dotnet publish for GTK client" +dotnet publish \ + -o Publish/esusshots-gtk-linux-x64 \ + -r linux-x64 \ + -c Release \ + /p:PublishSingleFile=true \ + /p:PublishTrimmed=true \ + EstusShots.Gtk/EstusShots.Gtk.csproj \ No newline at end of file