Skip to content

Commit

Permalink
Fixed snapcraft builds, Thank you God!
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-zip committed Oct 26, 2024
1 parent d73a8a4 commit b7d84ed
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,16 @@ platforms:
build-on: [arm64]
build-for: [arm64]

environment:
WITCH_SPELLS_ROOT_DIR: $SNAP/var/witch_craft/witch_spells/

parts:
spells:
witchspells:
source: witch_spells
plugin: dump
source: witch_spells/
organize:
witch_spells/*: witch_craft/witch_spells/

witchcraft:
after: [spells]
after: [witchspells]
plugin: rust
source: ./witch_craft
stage-snaps:
Expand Down Expand Up @@ -113,5 +114,3 @@ apps:
witchcraft:
command: bin/witch_craft
plugs: [home, network, network-bind, removable-media]
environment:
WITCH_SPELLS_ROOT_DIR: ${HOME}/witch_craft/witch_spells/

0 comments on commit b7d84ed

Please sign in to comment.