mirror of
https://github.com/actix/actix-website
synced 2025-01-23 00:25:55 +01:00
remove skeptic
This commit is contained in:
parent
9ac0e23ea3
commit
4635b07013
@ -13,7 +13,6 @@ categories = ["network-programming", "asynchronous",
|
|||||||
"web-programming::websocket"]
|
"web-programming::websocket"]
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"]
|
||||||
build = "build.rs"
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
src="src/lib.rs"
|
src="src/lib.rs"
|
||||||
@ -37,9 +36,7 @@ http = "0.1"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.5"
|
env_logger = "0.5"
|
||||||
skeptic = "0.13"
|
|
||||||
serde_derive = "1.0"
|
serde_derive = "1.0"
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
skeptic = "0.13"
|
|
||||||
futures = "0.1"
|
futures = "0.1"
|
||||||
|
31
build.rs
31
build.rs
@ -1,31 +0,0 @@
|
|||||||
extern crate skeptic;
|
|
||||||
|
|
||||||
use std::{env, fs};
|
|
||||||
|
|
||||||
|
|
||||||
fn main() {
|
|
||||||
let f = env::var("OUT_DIR").unwrap() + "/skeptic-tests.rs";
|
|
||||||
let _ = fs::remove_file(f);
|
|
||||||
// generates doc tests.
|
|
||||||
skeptic::generate_doc_tests(
|
|
||||||
&["content/docs/application.md",
|
|
||||||
"content/docs/autoreload.md",
|
|
||||||
"content/docs/databases.md",
|
|
||||||
"content/docs/errors.md",
|
|
||||||
"content/docs/extractors.md",
|
|
||||||
"content/docs/getting-started.md",
|
|
||||||
"content/docs/handlers.md",
|
|
||||||
"content/docs/http2.md",
|
|
||||||
"content/docs/installation.md",
|
|
||||||
"content/docs/middleware.md",
|
|
||||||
"content/docs/request.md",
|
|
||||||
"content/docs/response.md",
|
|
||||||
"content/docs/sentry.md",
|
|
||||||
"content/docs/server.md",
|
|
||||||
"content/docs/static-files.md",
|
|
||||||
"content/docs/testing.md",
|
|
||||||
"content/docs/url-dispatch.md",
|
|
||||||
"content/docs/websockets.md",
|
|
||||||
"content/docs/whatis.md",
|
|
||||||
]);
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
#[cfg(unix)]
|
|
||||||
include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));
|
|
Loading…
x
Reference in New Issue
Block a user