-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
26 lines (22 loc) · 957 Bytes
/
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
(defproject kelsey "0.1.0-SNAPSHOT"
:description "Test bed for playing with Antlr grammars."
:url "https://github.com/frenata/kelsey"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.antlr/antlr4 "4.5"]]
:main kelsey.core
:source-paths ["src/clj"]
:java-source-paths ["src/java"] ;; generated sources
:plugins [[lein-antlr "0.3.0"]]
:hooks [leiningen.antlr]
:prep-tasks [["antlr"] "javac" "compile"]
:antlr-src-dir "src/antlr"
:antlr-dest-dir "src/java/net/frenata/kelsey"
:antlr-options {:package "net.frenata.kelsey"
:visitor true}
:profiles {:dev {:jvm-opts ["-Xmx1g"]
:source-paths ["dev"]
:dependencies [[org.clojure/test.check "0.9.0"]]}}
:aliases {"tree" ["run" "-m" "kelsey.core/tree"]
"sum" ["run" "-m" "kelsey.core/sum"]})