about summary refs log tree commit diff stats
path: root/clj/bbplayground/build.clj
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2023-07-05 10:43:15 -0400
committerelioat <hi@eli.li>2023-07-05 10:43:15 -0400
commita67803aa847860695dbba921a1f36d18f1ac0f8c (patch)
treee9551a049aa3810b40d05f43be4e95c5b9bcc664 /clj/bbplayground/build.clj
parent821db84eb2161fd936420efc296cabad0ad156e6 (diff)
downloadtour-a67803aa847860695dbba921a1f36d18f1ac0f8c.tar.gz
*
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)))