meson.build 432 B

12345678910111213141516
  1. project('hotdoc', 'c')
  2. hotdoc = find_program('hotdoc', required: false)
  3. if not hotdoc.found()
  4. error('MESON_SKIP_TEST hotdoc not found.')
  5. endif
  6. subdir('doc')
  7. assert(hotdoc.has_extensions(['gi-extension']) == true,
  8. 'GI extension should always be found.')
  9. assert(hotdoc.has_extensions(['gi-extension', 'no-way-you-exist-extension']) == false,
  10. 'A hotdoc extension called "no-way-you-exist-extension" should never be found.')