scraper/build.clj

18 lines
458 B
Clojure
Raw Normal View History

2022-09-03 12:11:31 +00:00
(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)))