-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.boot
More file actions
32 lines (26 loc) · 1.07 KB
/
Copy pathbuild.boot
File metadata and controls
32 lines (26 loc) · 1.07 KB
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
(def project 'cljs-exe/lein-template)
(def version "0.1.0-SNAPSHOT")
(set-env! :resource-paths #{"resources" "src"}
;; uncomment this if you write tests for your template:
;; :source-paths #{"test"}
:dependencies '[[org.clojure/clojure "RELEASE"]
[boot/new "RELEASE"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-test "RELEASE" :scope "test"]])
(require '[adzerk.boot-test :refer [test]]
'[boot.new :refer [new]]
'[adzerk.bootlaces :refer :all])
(bootlaces! version)
(task-options!
pom {:project project
:version version
:description "Run Clojurescript as a native binary"
:url "https://github.com/ckampfe/cljs-exe"
:scm {:url "https://github.com/ckampfe/cljs-exe"}
:license {"Eclipse Public License"
"http://www.eclipse.org/legal/epl-v10.html"}}
push {:gpg-sign false})
(deftask build
"Build and install the project locally."
[]
(comp (pom) (jar) (install)))