Skip to content

Commit

Permalink
Units(Meson): add a case for extracting alias_target as a run target
Browse files Browse the repository at this point in the history
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Oct 25, 2024
1 parent 629bddb commit e41c5a8
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
1 change: 0 additions & 1 deletion Units/parser-meson.r/simple-meson.d/README

This file was deleted.

4 changes: 4 additions & 0 deletions Units/parser-meson.r/simple-meson.d/expected.tags
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ bench-message input-5.meson /^bench_message = executable('bench-message', source
suites input-5.meson /^suites = [$/;" variable
Connection input-5.meson /^ benchmark('Connection', bench_connect, timeout: 60, kwargs: suite)$/;" benchmark
Message passing input-5.meson /^ benchmark('Message passing', bench_message, timeout: 120, kwargs: suite)$/;" benchmark
gi_docgen input-6.meson /^gi_docgen = find_program('gi-docgen')$/;" variable
gck input-6.meson /^subdir('gck')$/;" subdir
gcr input-6.meson /^subdir('gcr')$/;" subdir
docs input-6.meson /^alias_target('docs',$/;" run
13 changes: 13 additions & 0 deletions Units/parser-meson.r/simple-meson.d/input-6.meson
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# -*- Meson -*-
# Taken from docs/meson.build of gcr
#
gi_docgen = find_program('gi-docgen')

subdir('gck')
subdir('gcr')

# Create a pseudo target that build all docs at once
alias_target('docs',
gck_docs,
gcr_docs,
)

0 comments on commit e41c5a8

Please sign in to comment.