diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-11-27 09:17:58 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-11-27 14:10:35 +0200 |
commit | 99c0d2c80a476e13866cbd74b6e35ff95a1e5d58 (patch) | |
tree | 62249bc5c5a3b6a47bffc723dc21849f8f83689f /Cargo.lock | |
parent | e3a8468282771369b5fb37be5c6e23c1e2833433 (diff) | |
download | subplot-99c0d2c80a476e13866cbd74b6e35ff95a1e5d58.tar.gz |
refactor: use build.rs for testing subplotlib subplots
A bit of dog-fooding: use subplot-build to test subplotlib.
Add a subplotlib/build.rs script to generate test code in Rust for the
subplotlib/*.md subplots. The generated code is included in
tests/*.rs, and run with "cargo test". Drop the same functionality
from the ./check script..
Sponsored-by: author
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -365,6 +365,12 @@ dependencies = [ ] [[package]] +name = "glob" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" + +[[package]] name = "globset" version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1149,11 +1155,13 @@ dependencies = [ "fehler", "filetime", "fs2", + "glob", "lazy_static", "regex", "remove_dir_all 0.7.0", "shell-words", "state", + "subplot-build", "subplotlib-derive", "tempfile", "unescape", |