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

Commit

Permalink
move tests to actix
Browse files Browse the repository at this point in the history
  • Loading branch information
fafhrd91 committed Dec 24, 2017
1 parent 1501db4 commit 5ec5e3d
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 225 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## 0.1.1 (2017-12-23)

* Move tests to actix

## 0.1.0 (2017-12-23)

* Added `msg` proc macro
Expand Down
10 changes: 1 addition & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "actix_derive"
version = "0.1.0"
version = "0.1.1"
authors = ["Callym <hi@callym.com>", "Nikolay Kim <fafhrd91@gmail.com>"]
description = "Actor framework for Rust"
readme = "README.md"
Expand All @@ -21,13 +21,5 @@ quote = "0.3"
rand = "0.3"
syn = { version="0.11", features=["full"] }

[dev-dependencies]
actix = "^0.3.4"
futures = "0.1"
skeptic = "0.13"

[build-dependencies]
actix = "^0.3.4"
futures = "0.1"
skeptic = "0.13"
version_check = "0.1"
23 changes: 0 additions & 23 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,29 +1,6 @@
extern crate skeptic;
extern crate version_check;

use std::{env, fs};


#[cfg(unix)]
fn main() {
let f = env::var("OUT_DIR").unwrap() + "/skeptic-tests.rs";
if env::var("USE_SKEPTIC").is_ok() {
let _ = fs::remove_file(f);
// generates doc tests for `README.md`.
skeptic::generate_doc_tests(
&["README.md"]);
} else {
let _ = fs::File::create(f);
}

match version_check::is_nightly() {
Some(true) => println!("cargo:rustc-cfg=actix_nightly"),
Some(false) => (),
None => (),
};
}

#[cfg(not(unix))]
fn main() {
match version_check::is_nightly() {
Some(true) => println!("cargo:rustc-cfg=actix_nightly"),
Expand Down
67 changes: 0 additions & 67 deletions tests/handler.rs

This file was deleted.

40 changes: 0 additions & 40 deletions tests/response_derive_empty.rs

This file was deleted.

41 changes: 0 additions & 41 deletions tests/response_derive_one.rs

This file was deleted.

43 changes: 0 additions & 43 deletions tests/response_derive_two.rs

This file was deleted.

2 changes: 0 additions & 2 deletions tests/skeptic.rs

This file was deleted.

0 comments on commit 5ec5e3d

Please sign in to comment.