Commit | Line | Data |
---|---|---|
afa47407 | 1 | (defproject frak "0.1.5-SNAPSHOT" |
ddfeefe3 | 2 | :description "Transform collections of strings into regular expressions." |
fef2a3db JH |
3 | :url "http://github.com/noprompt/frak" |
4 | :license {:name "Eclipse Public License" | |
5 | :url "http://www.eclipse.org/legal/epl-v10.html"} | |
0bb43f29 | 6 | :jar-exclusions [#"(?:\.(?:cljx|sw[onp])|cli\.cljs?)"] |
c6427c13 | 7 | :dependencies [[org.clojure/clojure "1.5.1"] |
8 | [guns.cli/optparse "1.1.1"]] | |
0bb43f29 JH |
9 | :plugins [[lein-cljsbuild "0.3.2"] |
10 | [com.keminglabs/cljx "0.3.0"]] | |
11 | :source-paths ["src/cljx"] | |
12 | :profiles {:dev {:dependencies [[criterium "0.4.1"] | |
13 | [com.keminglabs/cljx "0.3.0"]] | |
75842597 JH |
14 | :repl-options {:nrepl-middleware [cljx.repl-middleware/wrap-cljx]} |
15 | :hooks [cljx.hooks]}} | |
0bb43f29 JH |
16 | :cljx {:builds [{:source-paths ["src/cljx"] |
17 | :output-path "target/classes" | |
18 | :rules :clj} | |
19 | {:source-paths ["src/cljx"] | |
20 | :output-path "target/classes" | |
21 | :rules :cljs}]} | |
22 | :cljsbuild {:builds [{:id "browser" | |
23 | :source-paths ["target/classes"] | |
504daf13 | 24 | :compiler {:output-to "target/js/frak.min.js" |
0bb43f29 JH |
25 | :optimizations :advanced |
26 | :pretty-print false}} | |
27 | {:id "node" | |
28 | :source-paths ["target/classes"] | |
29 | :compiler {:output-to "bin/frak" | |
f0f98a8f JH |
30 | :externs ["resources/externs/process.js"] |
31 | :optimizations :advanced | |
9556e48e | 32 | :pretty-print false |
0bb43f29 | 33 | :target :nodejs}}]} |
15547396 | 34 | :main frak.cli |
4658ddde | 35 | :repl-options {:init-ns frak}) |