-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
They're REAL useful but I'm not actually sure they get run as part of normal CI. Fix this!
- Loading branch information
Showing
5 changed files
with
33 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
extern crate skeptic; | ||
use skeptic; | ||
use std::path::PathBuf; | ||
|
||
fn main() { | ||
// generates doc tests for guide. | ||
// skeptic::generate_doc_tests(&[ | ||
// "docs/guides/HelloGgez.md", | ||
// ]); | ||
|
||
let mdbook_files = skeptic::markdown_files_of_directory("docs/guides/"); | ||
let mut mdbook_files = skeptic::markdown_files_of_directory("docs/guides/"); | ||
let other_files: Vec<PathBuf> = vec![ | ||
"README.md".into(), | ||
]; | ||
mdbook_files.extend(other_files); | ||
skeptic::generate_doc_tests(&mdbook_files); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters