summaryrefslogtreecommitdiff
path: root/subplot-build
AgeCommit message (Collapse)AuthorFilesLines
2021-11-16chore: update crate versionsLars Wirzenius1-1/+1
Sponsored-by: author
2021-11-10chore: change licence to MIT-0Lars Wirzenius1-1/+1
We've decided to simplify the Subplot licensing situation by changing the licence to MIT-0 from the GPL. See https://gitlab.com/subplot/subplot/-/issues/229 for agreements from everyone involved. Sponsored-by: author
2021-10-21chore: update version numbers for cratesLars Wirzenius1-1/+1
Sponsored-by: author
2021-10-13feat: add crate subplot-build for using Subplot from build.rsLars Wirzenius2-0/+102
Make it easy to generate test code from a subplot in another project's `build.rs` script. Move the code to load documents and generate test code from src/bin/subplot.rs and src/bin/cli/mod.rs to src/doc.rs so it can be used without using the subplot executable. Make the add_search_path function public so it can be used outside its module. The subplot executable arranged for the directory where the markdown input file resides to be added to the search path via another way. Sponsored-by: pep.foundation