From 8a8bc668d0fb8b49d23d5cc50e13cea56ffd1ebd Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 29 Feb 2016 23:02:36 -0800 Subject: Add a style checking script to CI It's tough to have PRs bounce or to have a back and forth with contributors about minor style quibbles. Sometimes it ends up just being easier to fix style after the fact, but let's add some automation to help this! This commit adds a script to run on CI and locally to verify the style of this repository. There's a few stylistic guidelines to ensure that definitions are understandable across the jungle of modules. This consistency should help assist readability for any future readers! --- .travis.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index dcf4c7d3df..6840136c49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ script: else cargo build; cargo build --no-default-features; + rustc ci/style.rs && ./style src; fi os: - linux -- cgit v1.2.1