Merge branch 'optional-tests' into 'main'

build: Make tests optional

See merge request GNOME/blueprint-compiler!245
This commit is contained in:
Florian Müllner 2025-06-04 17:58:21 +02:00
commit 598c80f59b
2 changed files with 4 additions and 1 deletions

View file

@ -42,4 +42,6 @@ else
install_subdir('blueprintcompiler', install_dir: py.get_install_dir()) install_subdir('blueprintcompiler', install_dir: py.get_install_dir())
endif endif
subdir('tests') if get_option('tests')
subdir('tests')
endif

View file

@ -1 +1,2 @@
option('docs', type: 'boolean', value: false) option('docs', type: 'boolean', value: false)
option('tests', type: 'boolean', value: true)