|
1 | 1 | (defproject replme "0.1.0-SNAPSHOT" |
2 | | - :description "repl me" |
| 2 | + :description "REPLME" |
3 | 3 | :url "replme.clojurecup.com" |
4 | 4 |
|
5 | 5 | :license {:name "GNU Affero General Public License v3" |
6 | 6 | :url "https://www.gnu.org/licenses/agpl-3.0.html"} |
7 | 7 |
|
| 8 | + |
| 9 | + |
8 | 10 | :dependencies [[org.clojure/clojure "1.7.0-alpha1"] |
9 | 11 | [http-kit "2.1.18"] |
10 | 12 | [compojure "1.1.9"] |
|
16 | 18 | [com.stuartsierra/component "0.2.2"] |
17 | 19 | [org.clojure/tools.nrepl "0.2.5"] |
18 | 20 | [org.clojure/core.async "0.1.346.0-17112a-alpha"] |
19 | | - [org.clojure/clojurescript "0.0-2311"] |
| 21 | + [org.clojure/clojurescript "0.0-2342"] |
20 | 22 | [markdown-clj "0.9.53"] |
21 | 23 | [jayq "2.5.2"]] |
22 | 24 |
|
23 | 25 | :plugins [[lein-cljsbuild "1.0.3"]] |
24 | 26 |
|
25 | 27 | :profiles {:uberjar {:main replme.core |
26 | | - :aot [replme.core]} |
27 | | - |
| 28 | + :aot [replme.core] |
| 29 | + :hooks [leiningen.cljsbuild]} |
28 | 30 | :dev {:source-paths ["dev"] |
29 | 31 | :dependencies [[org.clojure/tools.namespace "0.2.3"]]}} |
30 | 32 | :cljsbuild { |
31 | | - :builds [{:id "replme" |
32 | | - :source-paths ["src"] |
33 | | - :externs ["resources/public/externs/jquery.js", |
34 | | - "resources/public/externs/jquery_console.js"] |
35 | | - :compiler { |
36 | | - :output-to "resources/public/replme.js" |
37 | | - :output-dir "resources/public/out" |
38 | | - :optimizations :none |
39 | | - :source-map true}}]}) |
| 33 | + :builds {:prod {:source-paths ["src"] |
| 34 | + :compiler {:preamble ["libs/jquery-1.10.2.min.js" |
| 35 | + "libs/jquery.console.js"] |
| 36 | + :externs ["libs/jquery-1.10.2.min.js" |
| 37 | + "libs/jquery.console.js"] |
| 38 | + :output-to "resources/public/replme.js" |
| 39 | + :output-dir "resources/public/out" |
| 40 | + :pretty-print false |
| 41 | + :optimizations :advanced |
| 42 | + :closure-warnings {:externs-validation :off |
| 43 | + :non-standard-jsdoc :off}}} |
| 44 | + :dev {:source-paths ["src"] |
| 45 | + :compiler { |
| 46 | + :output-to "resources/public/replme.js" |
| 47 | + :optimizations :none |
| 48 | + :source-map true}}}}) |
0 commit comments