scraper/build.clj

18 lines
458 B
Clojure

(ns build
(:refer-clojure :exclude [test])
(:require [org.corfield.build :as bb]))
(def lib 'net.clojars.com-jakewindle-git/scraper)
(def version "0.1.0-SNAPSHOT")
(def main 'com-jakewindle-git.scraper)
(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)))