build: plugins: ensure test plugins not installed in stable version

Menu Filters>Development>Demos not appear in a stable version,
and not appear in unstable version unless buildtype==debug.
This commit is contained in:
lloyd konneker 2024-08-10 09:15:01 -04:00 committed by Lloyd Konneker
parent f0e09494e1
commit 634f3d674f
3 changed files with 14 additions and 8 deletions

View file

@ -11,7 +11,7 @@ plugins = [
{ 'name': 'spyro-plus' },
]
if not stable or not release
if (not stable or not release) and get_option('buildtype')=='debug'
plugins += [
{ 'name': 'test-dialog' },
]