Hi all,
After following the create-your-first-snap tutorial, I am now trying to use meson rather than autotools. My program compiles correctly with meson, but with snapcraft I get this error:
“Failed to generate snap metadata: The specified command ‘bin/hello’ defined in the app ‘hello’ does not exist. Ensure that ‘bin/hello’ is installed with the correct path.”
Can you tell me how to configure the installation path?
snapcraft.yaml
name: hello-meson
base: core18
version: '2.10'
summary: hello world snap with meson
description: |
hello world snap with meson
grade: devel
confinement: strict
apps:
hello:
command: bin/hello
parts:
gnu-hello:
source: src
plugin: meson
meson.build
project('hello-meson', 'c')
executable('hello', 'hello.c')
Thanks in advance