# `spry` — the Spry application CLI: scaffolding (`spry new`), add commands, # static key maintenance (`spry keys`), Docker image generation, and the # build/run/watch dev loop (`spry dev`). python3 = find_program('python3') # Embed the editable template files as Vala consts. spry_templates = custom_target('spry-templates', input: files( 'templates/project-meson.build', 'templates/app-main.vala', 'templates/layout.html', 'templates/home.html', 'templates/HomeEntrypoint.vala', 'templates/page.html', 'templates/PageEntrypoint.vala', 'templates/action.vala', 'templates/login.html', 'templates/LoginEntrypoint.vala', 'templates/login-readme.md', 'templates/register.html', 'templates/RegisterEntrypoint.vala', 'templates/user-management.html', 'templates/UserManagementEntrypoint.vala', 'templates/gitignore', 'templates/README.md', 'templates/Dockerfile', 'templates/dockerignore', ), output: 'Templates.vala', command: [python3, files('mkconst.py'), '@OUTPUT@', '@INPUT@'] ) executable('spry', ['spry.vala', 'Generator.vala', 'Keys.vala', 'Docker.vala', 'Dev.vala', spry_templates], dependencies: [glib_dep, gobject_dep, gio_dep, json_glib_dep], install: true )