Skip to content

Commit

Permalink
Update build.boot
Browse files Browse the repository at this point in the history
  • Loading branch information
telent committed Mar 10, 2017
1 parent 1044b49 commit 40ebba0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build.boot
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@
(require '[weasel.repl.websocket])
(require '[cemerick.piggieback])

(def package-version
(let [v (clojure.string/trim-newline (slurp "VERSION"))
p (System/getenv "PATCH_LEVEL")]
(if p
(str v "." p)
(str v ".0-SNAPSHOT" p))))

(task-options!
pom {:project 'sledge
:version "0.1.1"}
:version package-version}
jar {:main 'sledge.core}
cljs {:main 'sledge.core
:optimizations :whitespace
Expand Down

0 comments on commit 40ebba0

Please sign in to comment.