Skip to content

Commit 88f7ff9

Browse files
committed
Merge pull request #257 from iopq/master
Make it so Stainless doesn't break the build
2 parents baba84f + 7e86e4f commit 88f7ff9

File tree

3 files changed

+44
-49
lines changed

3 files changed

+44
-49
lines changed

Cargo.lock

Lines changed: 41 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
description = "An AI for the game of Go"
44
name = "iomrascalai"
5-
version = "0.3.0"
5+
version = "0.3.1"
66
authors = ["Urban Hafner <contact@urbanhafner.com>",
77
"Thomas Poinsot <thomas.poinsot1@gmail.com>",
88
"Igor Polyakov <iopguy+iomrasclai@gmail.com>"]
@@ -27,7 +27,7 @@ toml = "*"
2727
[dependencies.hamcrest]
2828
git = "https://github.com/carllerche/hamcrest-rust.git"
2929

30-
[dependencies.stainless]
30+
[dev-dependencies.stainless]
3131
git = "https://github.com/reem/stainless.git"
3232

3333
[profile.release]

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#![feature(plugin)]
2525
#![feature(test)]
2626
#![plugin(regex_macros)]
27-
#![plugin(stainless)]
27+
#![cfg_attr(test, plugin(stainless))]
2828

2929
#[cfg(test)]
3030
extern crate hamcrest;

0 commit comments

Comments
 (0)