aboutsummaryrefslogtreecommitdiff
path: root/challenge-224/tyler-wardhaugh/clojure/build.clj
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-224/tyler-wardhaugh/clojure/build.clj')
-rw-r--r--challenge-224/tyler-wardhaugh/clojure/build.clj19
1 files changed, 19 insertions, 0 deletions
diff --git a/challenge-224/tyler-wardhaugh/clojure/build.clj b/challenge-224/tyler-wardhaugh/clojure/build.clj
new file mode 100644
index 0000000000..67267daa7d
--- /dev/null
+++ b/challenge-224/tyler-wardhaugh/clojure/build.clj
@@ -0,0 +1,19 @@
+(ns build
+ (:refer-clojure :exclude [test])
+ (:require [org.corfield.build :as bb]))
+
+(def lib 'net.clojars.c224/c224)
+(def version "0.1.0-SNAPSHOT")
+(def main 'c224.c224)
+
+(defn test "Run the tests." [opts]
+ (bb/run-tests opts))
+
+(def clean bb/clean)
+
+(defn ci "Run the CI pipeline of tests (and build the uberjar)." [opts]
+ (-> opts
+ (assoc :lib lib :version version :main main)
+ (bb/run-tests)
+ (bb/clean)
+ (bb/uber)))