Skip to content

Commit

Permalink
simplified
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyaDghosh committed Nov 20, 2023
1 parent ae518c4 commit 0c331af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,12 @@ parts:
source-depth: 1
parse-info: [ usr/share/metainfo/org.nickvision.money.metainfo.xml ]
build-environment:
- DOTNET_CLI_TELEMETRY_OPTOUT: 1
- DOTNET_CLI_TELEMETRY_OPTOUT: '1'
- PATH: $HOME/.dotnet:$HOME/.dotnet/tools:$HOME/.cargo/bin:$PATH
- DOTNET_ROOT: $HOME/.dotnet
- PYTHONPATH: $CRAFT_STAGE/usr/lib/python3/dist-packages:$PYTHONPATH
- GI_TYPELIB_PATH: /snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/girepository-1.0:/snap/gnome-42-2204-sdk/current/usr/lib/girepository-1.0
build-packages:
# - blueprint-compiler
- wget
override-pull: |
craftctl default
Expand All @@ -42,10 +45,7 @@ parts:
./dotnet-install.sh --channel 8.0
patch -p1 < $CRAFT_PROJECT_DIR/snap/denaro.patch
override-build: |
export DOTNET_ROOT=$HOME/.dotnet
export PATH=$PATH:$HOME/.dotnet:$HOME/.dotnet/tools:$HOME/.cargo/bin
export PYTHONPATH=$CRAFT_STAGE/usr/lib/python3/dist-packages:$PYTHONPATH
export GI_TYPELIB_PATH=/snap/gnome-42-2204-sdk/current/usr/lib/$CRAFT_ARCH_TRIPLET/girepository-1.0:/snap/gnome-42-2204-sdk/current/usr/lib/girepository-1.0
craftctl default
cd $CRAFT_PART_SRC
dotnet tool restore
dotnet cake --target=Publish --prefix=/snap/denaro/current/usr --ui=gnome --self-contained
Expand Down

0 comments on commit 0c331af

Please sign in to comment.