2016-08-03 09:00:20 -05:00
|
|
|
#[cfg(feature = "unstable-testing")]
|
2016-02-26 23:52:07 -06:00
|
|
|
mod inner {
|
|
|
|
extern crate skeptic;
|
|
|
|
|
|
|
|
pub fn main() {
|
2016-08-03 09:00:20 -05:00
|
|
|
println!("cargo:rerun-if-changed=../README.md");
|
2016-02-26 23:52:07 -06:00
|
|
|
skeptic::generate_doc_tests(&["../README.md"]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-03 09:00:20 -05:00
|
|
|
#[cfg(not(feature = "unstable-testing"))]
|
2016-02-26 23:52:07 -06:00
|
|
|
mod inner {
|
|
|
|
pub fn main() {}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
inner::main()
|
|
|
|
}
|