From 98a38b40092627dd18839f76fd939b715998b66b Mon Sep 17 00:00:00 2001 From: Josha von Gizycki Date: Thu, 20 Sep 2018 14:33:39 +0200 Subject: [PATCH] update deps, add ancient to build step --- project.clj | 10 +++++----- src/wanijo_pipeline/pipeline.clj | 4 +++- src/wanijo_pipeline/steps.clj | 3 +++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/project.clj b/project.clj index fc1ec3a..a90e3c3 100644 --- a/project.clj +++ b/project.clj @@ -1,14 +1,14 @@ (defproject wanijo-pipeline "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http://example.com/FIXME" - :dependencies [[lambdacd "0.14.0"] + :dependencies [[lambdacd "0.14.2"] [lambdacd-git "0.4.1"] [lambdaui "1.1.0"] [http-kit "2.3.0"] [org.clojure/clojure "1.9.0"] - [org.clojure/tools.logging "0.3.1"] - [org.slf4j/slf4j-api "1.7.5"] - [ch.qos.logback/logback-core "1.0.13"] - [ch.qos.logback/logback-classic "1.0.13"]] + [org.clojure/tools.logging "0.4.1"] + [org.slf4j/slf4j-api "1.7.25"] + [ch.qos.logback/logback-core "1.2.3"] + [ch.qos.logback/logback-classic "1.2.3"]] :profiles {:uberjar {:aot :all}} :main wanijo-pipeline.core) diff --git a/src/wanijo_pipeline/pipeline.clj b/src/wanijo_pipeline/pipeline.clj index 7fa6ce9..1483ad4 100644 --- a/src/wanijo_pipeline/pipeline.clj +++ b/src/wanijo_pipeline/pipeline.clj @@ -11,4 +11,6 @@ (with-workspace clone compile - test))) + (in-parallel + check-ancient + test)))) diff --git a/src/wanijo_pipeline/steps.clj b/src/wanijo_pipeline/steps.clj index 5a0510e..61a006f 100644 --- a/src/wanijo_pipeline/steps.clj +++ b/src/wanijo_pipeline/steps.clj @@ -16,6 +16,9 @@ ref (or revision repo-branch)] (lcd-git/clone ctx repo-uri ref cwd))) +(defn check-ancient [args ctx] + (lcd-shell/bash ctx (:cwd args) "lein ancient")) + (defn compile [args ctx] (lcd-shell/bash ctx (:cwd args) "lein compile"))