aboutsummaryrefslogtreecommitdiff
path: root/challenge-224/tyler-wardhaugh/clojure/build.clj
blob: 67267daa7d29925eba79708e53fc7bf47ffa08f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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)))