My km-weasel project still isn't working. Here's my profiles.clj
{:shared {:cljsbuild {:builds {:ws1 {:source-paths ["src/cljs"]
:compiler {:preamble
["react/react.min.js"]
:externs
["react/externs/react.js"]}}}}}
:test [:shared
{:cljsbuild {:builds {:ws1 {:compiler {:optimizations :whitespace
:pretty-print true}}}}}]
:dev [:shared
{:source-paths ["dev/src/clj"]
:resource-paths ["dev/resources" "target/cljsbuild" "dev/src"]
:dependencies [[ring "1.2.1"]
[compojure "1.1.6"]
[enlive "1.1.5"]
[com.cemerick/piggieback "0.1.3"]
[weasel "0.4.0-SNAPSHOT"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:cljsbuild {:builds {:ws1 {:source-paths ["dev/src/cljs/repl"]
:compiler {:output-dir
"target/cljsbuild/public/js"
:output-to
"target/cljsbuild/public/js/ws1.js"
:source-map
"target/cljsbuild/public/js/ws1.js.map"
:optimizations :whitespace
:pretty-print true}}}}}]
:prod [:shared
{:cljsbuild {:builds {:ws1 {:compiler {:output-to "resources/js/ws1.js"
:optimizations :advanced
:pretty-print false}}}}}]}
… and my project.clj
(defproject ws1 "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.3.4"
:source-paths ["src/clj" "src/cljs"]
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2311"]
[org.clojure/core.async "0.1.278.0-76b25b-alpha"]
[om "0.7.1"]]
:plugins [[lein-cljsbuild "1.0.3"]]
:hooks [leiningen.cljsbuild])
gvim
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.