about summary refs log tree commit diff stats
path: root/clj/bbplayground/build.clj
diff options
context:
space:
mode:
Diffstat (limited to 'clj/bbplayground/build.clj')
-rw-r--r--clj/bbplayground/build.clj17
1 files changed, 17 insertions, 0 deletions
diff --git a/clj/bbplayground/build.clj b/clj/bbplayground/build.clj
new file mode 100644
index 0000000..f9b7f7f
--- /dev/null
+++ b/clj/bbplayground/build.clj
@@ -0,0 +1,17 @@
+(ns build
+  (:refer-clojure :exclude [test])
+  (:require [org.corfield.build :as bb]))
+
+(def lib 'net.clojars.elioat/bbplayground)
+(def version "0.1.0-SNAPSHOT")
+(def main 'elioat.bbplayground)
+
+(defn test "Run the tests." [opts]
+  (bb/run-tests opts))
+
+(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)))