-
Notifications
You must be signed in to change notification settings - Fork 3
/
project.clj
32 lines (28 loc) · 1.12 KB
/
project.clj
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
(defproject me.arrdem/cuddlefish "0.1.0-SNAPSHOT"
:description "A cute little git wrapper."
:url "http://github.com/arrdem/cuddlefish"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]]
:source-paths ["src/main/clj"
"src/main/cljc"]
:java-source-paths ["src/main/jvm"]
:resource-paths ["src/main/resources"]
:profiles
{:test {:test-paths ["src/test/clj"
"src/test/cljc"]
:java-source-paths ["src/test/jvm"]
:resource-paths ["src/test/resources"]}
:dev {:source-paths ["src/dev/clj"
"src/dev/cljc"]
:java-source-paths ["src/dev/jvm"]
:resource-paths ["src/dev/resources"]}}
:plugins [[me.arrdem/lein-git-version "2.0.3"]]
:git-version
{:status-to-version
(fn [{:keys [tag version ahead ahead? dirty?] :as git}]
(if (and tag (not ahead?) (not dirty?))
tag
(str tag
(when ahead? (str "." ahead))
(when dirty? "-SNAPSHOT"))))})