This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch phil/filter-docs in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 59e4b2bd3a7813321737aec48aa4d1a65d9a2c76 Author: Phil Dawson <[email protected]> AuthorDate: Mon Aug 6 11:44:22 2018 +0100 fixup! WIP: doc/examples/: Add toy filter example --- doc/examples/filters/elements/.foo.bst.swp | Bin 12288 -> 0 bytes doc/examples/filters/elements/foo-filter.bst | 12 ++++++++++++ doc/examples/filters/elements/foo.bst | 16 +++++++++------- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/doc/examples/filters/elements/.foo.bst.swp b/doc/examples/filters/elements/.foo.bst.swp deleted file mode 100644 index 7c1cf5f..0000000 Binary files a/doc/examples/filters/elements/.foo.bst.swp and /dev/null differ diff --git a/doc/examples/filters/elements/foo-filter.bst b/doc/examples/filters/elements/foo-filter.bst new file mode 100644 index 0000000..590aa2d --- /dev/null +++ b/doc/examples/filters/elements/foo-filter.bst @@ -0,0 +1,12 @@ +kind: filter + +depends: +- filename: foo.bst + type: build + +config: + include: + - bar + + exclude: + - baz diff --git a/doc/examples/filters/elements/foo.bst b/doc/examples/filters/elements/foo.bst index 72422d0..5f77fd1 100644 --- a/doc/examples/filters/elements/foo.bst +++ b/doc/examples/filters/elements/foo.bst @@ -1,15 +1,17 @@ -kind: local +kind: import -config: - source: - - kind: local - path: files/foo/ +sources: +- kind: local + path: files/foo/ + +config: + target: / public: bst: split-rules: bar: - - "foo/bar/*" + - "bar*" baz: - - "foo/baz/*" + - "baz*"
