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 7ff31d16c84317622d0b1d102d8873afece35f6f Author: Phil Dawson <[email protected]> AuthorDate: Mon Aug 6 08:59:49 2018 +0100 WIP: doc/examples/: Add toy filter example --- doc/examples/filters/elements/.foo.bst.swp | Bin 0 -> 12288 bytes doc/examples/filters/elements/foo.bst | 15 +++++++++++++++ doc/examples/filters/files/foo/bar1 | 0 doc/examples/filters/files/foo/bar2 | 0 doc/examples/filters/files/foo/baz1 | 0 doc/examples/filters/files/foo/baz2 | 0 doc/examples/filters/files/foo/baz3 | 0 doc/examples/filters/project.conf | 8 ++++++++ 8 files changed, 23 insertions(+) diff --git a/doc/examples/filters/elements/.foo.bst.swp b/doc/examples/filters/elements/.foo.bst.swp new file mode 100644 index 0000000..7c1cf5f Binary files /dev/null and b/doc/examples/filters/elements/.foo.bst.swp differ diff --git a/doc/examples/filters/elements/foo.bst b/doc/examples/filters/elements/foo.bst new file mode 100644 index 0000000..72422d0 --- /dev/null +++ b/doc/examples/filters/elements/foo.bst @@ -0,0 +1,15 @@ +kind: local + +config: + source: + - kind: local + path: files/foo/ + +public: + bst: + split-rules: + bar: + - "foo/bar/*" + baz: + - "foo/baz/*" + diff --git a/doc/examples/filters/files/foo/bar1 b/doc/examples/filters/files/foo/bar1 new file mode 100644 index 0000000..e69de29 diff --git a/doc/examples/filters/files/foo/bar2 b/doc/examples/filters/files/foo/bar2 new file mode 100644 index 0000000..e69de29 diff --git a/doc/examples/filters/files/foo/baz1 b/doc/examples/filters/files/foo/baz1 new file mode 100644 index 0000000..e69de29 diff --git a/doc/examples/filters/files/foo/baz2 b/doc/examples/filters/files/foo/baz2 new file mode 100644 index 0000000..e69de29 diff --git a/doc/examples/filters/files/foo/baz3 b/doc/examples/filters/files/foo/baz3 new file mode 100644 index 0000000..e69de29 diff --git a/doc/examples/filters/project.conf b/doc/examples/filters/project.conf new file mode 100644 index 0000000..5ca9c0c --- /dev/null +++ b/doc/examples/filters/project.conf @@ -0,0 +1,8 @@ +# Unique project name +name: filters + +# Required BuildStream format version +format-version: 12 + +# Subdirectory where elements are stored +element-path: elements
