-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.boot
40 lines (36 loc) · 1.46 KB
/
build.boot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
(merge-env!
:resource-paths #{"src/cljc"}
:dependencies '[[org.clojure/clojure "1.9.0" :scope "provided"]
[org.clojure/clojurescript "1.10.238" :scope "provided"]]
:repositories [["clojars" {:url "https://clojars.org/repo"
:username (System/getenv "CLOJARS_USER")
:password (System/getenv "CLOJARS_PASS")}]])
(task-options!
pom {:project 'moxaj/macrowbar
:version "0.2.5"
:description "Portable clojure macro utility functions"
:url "http://github.com/moxaj/macrowbar"
:license {"Eclipse Public License" "http://www.eclipse.org/legal/epl-v10.html"}}
push {:ensure-clean false
:ensure-branch "master"
:repo "clojars"})
(deftask dev
"Dev task for proto-repl."
[]
(merge-env! :init-ns 'user
:dependencies '[[org.clojure/tools.namespace "0.2.11"]
[proto-repl "0.3.1" :exclusions [org.clojure/core.async]]])
(require 'clojure.tools.namespace.repl)
(apply (resolve 'clojure.tools.namespace.repl/set-refresh-dirs) (get-env :directories))
identity)
(deftask local-deploy
"Installs the artifact into the local maven repository."
[]
(comp (pom)
(jar)
(install)))
(deftask deploy
"Installs the artifact into the local maven repository and pushes to clojars."
[]
(comp (local-deploy)
(push)))