Add publish.sh
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -3,4 +3,5 @@ obj/
|
||||
/packages/
|
||||
*.blob
|
||||
.idea/
|
||||
*.db
|
||||
*.db
|
||||
Publish/*
|
||||
21
publish.sh
Executable file
21
publish.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user