Clean stdio output and enable ReadyToRun publish
This commit is contained in:
@@ -5,6 +5,7 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
PROJECT="$ROOT_DIR/src/McpSsh.Server/McpSsh.Server.csproj"
|
||||
CONFIGURATION="${CONFIGURATION:-Release}"
|
||||
PUBLISH_TRIMMED="${PUBLISH_TRIMMED:-false}"
|
||||
PUBLISH_READY_TO_RUN="${PUBLISH_READY_TO_RUN:-true}"
|
||||
|
||||
if [[ $# -gt 0 ]]; then
|
||||
RIDS=("$@")
|
||||
@@ -21,5 +22,6 @@ for rid in "${RIDS[@]}"; do
|
||||
-o "$output" \
|
||||
-p:PublishSingleFile=true \
|
||||
-p:PublishTrimmed="$PUBLISH_TRIMMED" \
|
||||
-p:PublishReadyToRun="$PUBLISH_READY_TO_RUN" \
|
||||
-p:EnableCompressionInSingleFile=true
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user