# `spry` — the Spry application CLI: scaffolding (`spry new`, including USM # packaging), add commands, static key maintenance (`spry keys`), USM image # deployment (`spry deploy`), 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/MANIFEST.usm', 'templates/usm-build.sh', 'templates/usm-install.sh', 'templates/usmignore', ), output: 'Templates.vala', command: [python3, files('mkconst.py'), '@OUTPUT@', '@INPUT@'] ) executable('spry', ['spry.vala', 'Generator.vala', 'Keys.vala', 'Deploy.vala', 'Dev.vala', 'CompileCommands.vala', spry_templates], dependencies: [glib_dep, gobject_dep, gio_dep, json_glib_dep], install: true )