Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bumped cljsbuild to 0.3.0 and changed :cljsbuild block to comply with #55

Merged
merged 1 commit into from

1 participant

@zoldar
Collaborator

new format

@zoldar zoldar merged commit 29e1d63 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jan 22, 2013
  1. @zoldar
This page is out of date. Refresh to see the latest.
Showing with 15 additions and 12 deletions.
  1. +15 −12 project.clj
View
27 project.clj
@@ -16,7 +16,7 @@
[enlive "1.0.1" :exclusions [org.clojure/clojure]]
[jayq "2.0.0" :exclusions [org.clojure/clojure]]
[org.clojure/clojure "1.4.0"]]
- :plugins [[lein-cljsbuild "0.2.10"]]
+ :plugins [[lein-cljsbuild "0.3.0"]]
:hooks [leiningen.cljsbuild]
:repl-init librarian-clojure.repl
:ring {:handler librarian-clojure.core/app
@@ -45,17 +45,20 @@
:exclusions [org.clojure/clojure]]
[com.stuartsierra/lazytest "1.2.3" :exclusions [org.clojure/clojure]]]
:plugins [[lein-midje "2.0.3"]]}}
- :cljsbuild {:builds {:dev {:source-path "src-cljs"
- :compiler {:output-to "resources/public/js/librarian-cljs.js"
- :optimizations :whitespace
- :pretty-print true}
- :jar true}
- ;; :production TBD
- :test {:source-path "test-cljs"
- :compiler {:output-to "resources/public/tests/js/librarian-tests.js"
- :optimizations :whitespace
- :pretty-print true
- :libs ["resources/public/js"]}}}}
+ :cljsbuild {:builds
+ [{:source-paths ["src-cljs"]
+ :id "dev"
+ :compiler {:pretty-print true
+ :output-to "resources/public/js/librarian-cljs.js"
+ :optimizations :whitespace}
+ :jar true}
+ ;; :id "production" TBD
+ {:source-paths ["test-cljs"]
+ :id "test"
+ :compiler {:pretty-print true
+ :output-to "resources/public/tests/js/librarian-tests.js"
+ :libs ["resources/public/js"]
+ :optimizations :whitespace}}]}
:aliases {"run-local" ["with-profile" "dev" "run"]
"all" ["with-profile" "dev:1.5"]}
:repositories [["sonatype-snapshots"
Something went wrong with that request. Please try again.