diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2022-01-01 12:03:51 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2022-01-01 14:05:30 +0000 |
commit | 95b3d27d27a8dab7cb8a5136000a2331ab9b4a4a (patch) | |
tree | 632bb651f7bb70152bacfcccc268ccffd5e64c0d /subplotlib/build.rs | |
parent | d4856f7b04b5f58118e518fd2a3413363dcad6ce (diff) | |
download | subplot-95b3d27d27a8dab7cb8a5136000a2331ab9b4a4a.tar.gz |
tests: Move files.md to be common between Python and subplotlib
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'subplotlib/build.rs')
-rw-r--r-- | subplotlib/build.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/subplotlib/build.rs b/subplotlib/build.rs index a809a68..d1eeefd 100644 --- a/subplotlib/build.rs +++ b/subplotlib/build.rs @@ -18,6 +18,8 @@ fn main() { let subplots = glob("*.md").expect("failed to find subplots in subplotlib"); let tests = Path::new("tests"); let subplots = subplots.chain(Some(Ok("../subplot.md".into()))); + let subplots = subplots + .chain(glob("../tests/subplots/common/*.md").expect("failed to find common subplots")); for entry in subplots { let entry = entry.expect("failed to get subplot dir entry in subplotlib"); let mut inc = tests.join(&entry.file_name().unwrap()); |