summaryrefslogtreecommitdiff
path: root/src/run.rs
diff options
context:
space:
mode:
authorMario Reder <mreder1289@gmail.com>2020-02-14 15:25:03 +0100
committerMario Reder <mreder1289@gmail.com>2020-02-26 14:07:07 +0100
commit1e2fd9c92f8cd6e389525ca1a999fca4c90b5921 (patch)
treeaace341dbef4b15e37ddf260d6be857a11cca104 /src/run.rs
parent7e8530b21ff355c9b52e07eb3ba25278746a6932 (diff)
feat: Add clippy lints
- adds a new 'clippy' category for exercises - clippy exercises should throw no warnings - install script now also installs clippy is related to https://github.com/rust-lang/rust-clippy/issues/2604
Diffstat (limited to 'src/run.rs')
-rw-r--r--src/run.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/run.rs b/src/run.rs
index cfde7ab..ebb0ae6 100644
--- a/src/run.rs
+++ b/src/run.rs
@@ -6,6 +6,7 @@ pub fn run(exercise: &Exercise) -> Result<(), ()> {
match exercise.mode {
Mode::Test => test(exercise)?,
Mode::Compile => compile_and_run(exercise)?,
+ Mode::Clippy => compile_and_run(exercise)?,
}
Ok(())
}