Skip to content

Commit

Permalink
Move benchmarks to their own crate
Browse files Browse the repository at this point in the history
  • Loading branch information
arcnmx committed Jul 30, 2015
1 parent 96f9aa3 commit 35d8d9d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 39,7 @@ before_deploy:
- (cd codegen && cargo doc --no-deps -v && cargo package -v && cargo publish --token "$CRATES_IO_TOKEN" || true)
- (cd macros && cargo doc --no-deps -v && cargo package -v && cargo publish --token "$CRATES_IO_TOKEN" || true)
- (cargo doc --no-deps -v && cargo package -v && cargo publish --token "$CRATES_IO_TOKEN" || true)
- cargo bench -q > $CARGO_TARGET_DIR/benchmarks.txt
- (cd bench && cargo bench -q > $CARGO_TARGET_DIR/benchmarks.txt)

deploy:
provider: releases
Expand Down
4 changes: 0 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 32,3 @@ path = "pod"
[dependencies.packed]
version = "0.2"
path = "packed"

[dev-dependencies.nue-macros]
version = "0.2"
path = "macros"
23 changes: 23 additions & 0 deletions bench/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 1,23 @@
[package]
name = "nue-bench"
version = "0.0.0"
authors = ["arcnmx"]

[[bench]]
name = "nue"
path = "bench.rs"

[features]
unstable = ["nue/unstable"]

[dev-dependencies.nue]
version = "0.2"
path = ".."

[dev-dependencies.pod]
version = "0.2"
path = "../pod"

[dev-dependencies.nue-macros]
version = "0.2"
path = "../macros"
File renamed without changes.

0 comments on commit 35d8d9d

Please sign in to comment.