Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

Commit 5ec5e3d

Browse files
committed
move tests to actix
1 parent 1501db4 commit 5ec5e3d

8 files changed

+5
-225
lines changed

CHANGES.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes
22

3+
## 0.1.1 (2017-12-23)
4+
5+
* Move tests to actix
6+
37
## 0.1.0 (2017-12-23)
48

59
* Added `msg` proc macro

Cargo.toml

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix_derive"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
authors = ["Callym <[email protected]>", "Nikolay Kim <[email protected]>"]
55
description = "Actor framework for Rust"
66
readme = "README.md"
@@ -21,13 +21,5 @@ quote = "0.3"
2121
rand = "0.3"
2222
syn = { version="0.11", features=["full"] }
2323

24-
[dev-dependencies]
25-
actix = "^0.3.4"
26-
futures = "0.1"
27-
skeptic = "0.13"
28-
2924
[build-dependencies]
30-
actix = "^0.3.4"
31-
futures = "0.1"
32-
skeptic = "0.13"
3325
version_check = "0.1"

build.rs

-23
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,6 @@
1-
extern crate skeptic;
21
extern crate version_check;
32

4-
use std::{env, fs};
53

6-
7-
#[cfg(unix)]
8-
fn main() {
9-
let f = env::var("OUT_DIR").unwrap() + "/skeptic-tests.rs";
10-
if env::var("USE_SKEPTIC").is_ok() {
11-
let _ = fs::remove_file(f);
12-
// generates doc tests for `README.md`.
13-
skeptic::generate_doc_tests(
14-
&["README.md"]);
15-
} else {
16-
let _ = fs::File::create(f);
17-
}
18-
19-
match version_check::is_nightly() {
20-
Some(true) => println!("cargo:rustc-cfg=actix_nightly"),
21-
Some(false) => (),
22-
None => (),
23-
};
24-
}
25-
26-
#[cfg(not(unix))]
274
fn main() {
285
match version_check::is_nightly() {
296
Some(true) => println!("cargo:rustc-cfg=actix_nightly"),

tests/handler.rs

-67
This file was deleted.

tests/response_derive_empty.rs

-40
This file was deleted.

tests/response_derive_one.rs

-41
This file was deleted.

tests/response_derive_two.rs

-43
This file was deleted.

tests/skeptic.rs

-2
This file was deleted.

0 commit comments

Comments
 (0)