fix skeptic

This commit is contained in:
Oliver Schneider
2016-08-03 16:00:20 +02:00
parent 22d0bdae8a
commit e40b9e9814
3 changed files with 10 additions and 3 deletions
+3 -2
View File
@@ -1,13 +1,14 @@
#[cfg(feature = "nightly-testing")]
#[cfg(feature = "unstable-testing")]
mod inner {
extern crate skeptic;
pub fn main() {
println!("cargo:rerun-if-changed=../README.md");
skeptic::generate_doc_tests(&["../README.md"]);
}
}
#[cfg(not(feature = "nightly-testing"))]
#[cfg(not(feature = "unstable-testing"))]
mod inner {
pub fn main() {}
}