summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2023-03-23 22:49:23 -0500
committerGary Kramlich <grim@reaperworld.com>2023-03-23 22:49:23 -0500
commite0415c2d77b5e06c6c884f6e81386c13fd801bac (patch)
tree5b66623537dd098edfdba3a9b1d021be1e925172
parentddbb62d46470ba81a3cd2ec91febe6d11e3f34e0 (diff)
downloadpidgin-e0415c2d77b5e06c6c884f6e81386c13fd801bac.tar.gz
Add a custom target for running everything when landing a pull request
Testing Done: Ran `ninja clean` followed by `ninja turtles` and verified the pot file, all the code, and the docs were compiled. Reviewed at https://reviews.imfreedom.org/r/2387/
-rw-r--r--meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 678f36abc1..c8a4876b07 100644
--- a/meson.build
+++ b/meson.build
@@ -527,6 +527,11 @@ devenv.set('XDG_CONFIG_HOME', config_home)
meson.add_devenv(devenv)
+if meson.backend() == 'ninja'
+ run_target('turtles',
+ command : ['ninja', '-C', '@BUILD_ROOT@', 'pidgin-pot', 'all', 'test'])
+endif
+
summary({
'prefix': get_option('prefix'),
'bindir': get_option('bindir'),