diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index bdb10c2..eb16107 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -24,16 +24,8 @@ parts: source: resources/metainfo parse-info: - com.yktoo.ymuse.metainfo.xml - - ymuse: - plugin: go - source: . - build-snaps: - - go/latest/stable build-packages: - git - - gcc - - gettext override-pull: | craftctl default @@ -43,6 +35,16 @@ parts: craftctl set version="$version" craftctl set grade="$(echo $version | grep -q '-' && echo devel || echo stable)" + ymuse: + plugin: go + source: . + build-snaps: + - go/latest/stable + build-packages: + - git + - gcc + - gettext + override-build: | set -eu go generate