From 985c9159bf68320c6e996509576b3ea7b548ba2d Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Fri, 21 Sep 2018 10:14:05 +0200 Subject: [PATCH] add checks and tests --- src/wanijo_pipeline/pipeline.clj | 6 ++++-- src/wanijo_pipeline/steps.clj | 8 +++++++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/wanijo_pipeline/pipeline.clj b/src/wanijo_pipeline/pipeline.clj index 1483ad4..45b07bb 100644 --- a/src/wanijo_pipeline/pipeline.clj +++ b/src/wanijo_pipeline/pipeline.clj @@ -12,5 +12,7 @@ clone compile (in-parallel - check-ancient - test)))) + ancient + test + eastwood + bikeshed)))) diff --git a/src/wanijo_pipeline/steps.clj b/src/wanijo_pipeline/steps.clj index 61a006f..b40ba92 100644 --- a/src/wanijo_pipeline/steps.clj +++ b/src/wanijo_pipeline/steps.clj @@ -16,7 +16,7 @@ ref (or revision repo-branch)] (lcd-git/clone ctx repo-uri ref cwd))) -(defn check-ancient [args ctx] +(defn ancient [args ctx] (lcd-shell/bash ctx (:cwd args) "lein ancient")) (defn compile [args ctx] @@ -24,3 +24,9 @@ (defn test [args ctx] (lcd-shell/bash ctx (:cwd args) "lein test")) + +(defn bikeshed [args ctx] + (lcd-shell/bash ctx (:cwd args) "lein bikeshed")) + +(defn eastwood [args ctx] + (lcd-shell/bash ctx (:cwd args) "lein eastwood"))