about summary refs log blame commit diff stats
path: root/clj/bbplayground/build.clj
blob: f9b7f7fed12c42b47f9b3ccb3de6fb6de2ca500d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)))