From 7e6d7cb138d9fcce6f0dbf171fde2c9027647623 Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Fri, 6 Mar 2026 15:00:18 +0100 Subject: [PATCH] Ok this is getting annoying --- snap/snapcraft.yaml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 13a6977..63bfd76 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -29,26 +29,34 @@ parts: yesnt: plugin: dotnet dotnet-version: '10.0' - dotnet-configuration: Release - dotnet-self-contained: true source: . - dotnet-project: src/YesNt.Interpreter.App/YesNt.Interpreter.App.csproj build-packages: - clang - zlib1g-dev + override-build: | + dotnet publish \ + --configuration Release \ + --runtime linux-x64 \ + --self-contained true \ + --output "$CRAFT_PART_INSTALL" \ + src/YesNt.Interpreter.App/YesNt.Interpreter.App.csproj stage: - -YesNt.Interpreter.* - -*.dbg yesntcode: plugin: dotnet dotnet-version: '10.0' - dotnet-configuration: Release - dotnet-self-contained: true source: . - dotnet-project: src/YesNt.CodeEditor/YesNt.CodeEditor.csproj build-packages: - clang - zlib1g-dev + override-build: | + dotnet publish \ + --configuration Release \ + --runtime linux-x64 \ + --self-contained true \ + --output "$CRAFT_PART_INSTALL" \ + src/YesNt.CodeEditor/YesNt.CodeEditor.csproj stage: - -YesNt.Interpreter.* - -*.dbg