From ddc68433a3aa5b9b07c345b614ccb9c065b1d1b8 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Fri, 20 Jan 2017 12:43:50 -0500 Subject: [PATCH 1/4] Add categories to Cargo.toml --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index a2797744b..492b2ec9a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,6 +13,7 @@ repository = "https://github.com/Manishearth/rust-clippy" readme = "README.md" license = "MPL-2.0" keywords = ["clippy", "lint", "plugin"] +categories = ["development-tools"] [lib] name = "clippy" From 426660f00c0446b5bb0dcaea1efd6c11f63e4a06 Mon Sep 17 00:00:00 2001 From: mcarton Date: Fri, 20 Jan 2017 18:56:30 +0100 Subject: [PATCH 2/4] Fix rustfmt --- clippy_lints/src/assign_ops.rs | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/clippy_lints/src/assign_ops.rs b/clippy_lints/src/assign_ops.rs index 977a1d43d..7e6b8cf98 100644 --- a/clippy_lints/src/assign_ops.rs +++ b/clippy_lints/src/assign_ops.rs @@ -97,8 +97,11 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AssignOps { |db| if let (Some(snip_a), Some(snip_r)) = (snippet_opt(cx, assignee.span), snippet_opt(cx, rhs.span)) { db.span_suggestion(expr.span, - "replace it with", - format!("{} {}= {}", snip_a, op.node.as_str(), snip_r)); + "replace it with", + format!("{} {}= {}", + snip_a, + op.node.as_str(), + snip_r)); }); }; // lhs op= l op r @@ -178,8 +181,11 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for AssignOps { |db| if let (Some(snip_a), Some(snip_r)) = (snippet_opt(cx, assignee.span), snippet_opt(cx, rhs.span)) { db.span_suggestion(expr.span, - "replace it with", - format!("{} {}= {}", snip_a, op.node.as_str(), snip_r)); + "replace it with", + format!("{} {}= {}", + snip_a, + op.node.as_str(), + snip_r)); }); } }; From 48381d85f587b54a4d2421889edb4da8bb139e92 Mon Sep 17 00:00:00 2001 From: mcarton Date: Fri, 20 Jan 2017 19:17:52 +0100 Subject: [PATCH 3/4] Add badges to Cargo.toml --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 492b2ec9a..e06a002c0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,10 @@ license = "MPL-2.0" keywords = ["clippy", "lint", "plugin"] categories = ["development-tools"] +[badges] +travis-ci = { repository = "Manishearth/rust-clippy" } +appveyor = { repository = "Manishearth/rust-clippy" } + [lib] name = "clippy" plugin = true @@ -37,6 +41,5 @@ rustc-serialize = "0.3" clippy-mini-macro-test = { version = "0.1", path = "mini-macro" } serde = "0.7" - [features] debugging = [] From 83373c55bd7be5f64d859f2538e55a7615fed0df Mon Sep 17 00:00:00 2001 From: mcarton Date: Fri, 20 Jan 2017 19:24:27 +0100 Subject: [PATCH 4/4] Bump to 0.0.110 --- CHANGELOG.md | 3 +++ Cargo.toml | 4 ++-- clippy_lints/Cargo.toml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 48c1362ae..88602147d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Change Log All notable changes to this project will be documented in this file. +## 0.0.110 — 2017-01-20 +* Add badges and categories to `Cargo.toml` + ## 0.0.109 — 2017-01-19 * Update to *1.16.0-nightly (c07a6ae77 2017-01-17)* diff --git a/Cargo.toml b/Cargo.toml index e06a002c0..8aac7976d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "clippy" -version = "0.0.109" +version = "0.0.110" authors = [ "Manish Goregaokar ", "Andre Bogus ", @@ -30,7 +30,7 @@ test = false [dependencies] # begin automatic update -clippy_lints = { version = "0.0.109", path = "clippy_lints" } +clippy_lints = { version = "0.0.110", path = "clippy_lints" } # end automatic update [dev-dependencies] diff --git a/clippy_lints/Cargo.toml b/clippy_lints/Cargo.toml index 5b7a771db..f1574c4b7 100644 --- a/clippy_lints/Cargo.toml +++ b/clippy_lints/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "clippy_lints" # begin automatic update -version = "0.0.109" +version = "0.0.110" # end automatic update authors = [ "Manish Goregaokar ",