Hi David

To use cljsbuild with master I'm doing adding a cloned clojurescript to my 
project like so ...

 :source-paths ["src"
                 "/home/ritchie/Usr/clojurescript/src/clj"
                 "/home/ritchie/Usr/clojurescript/src/cljs"

as specified here 
https://github.com/emezeske/lein-cljsbuild/wiki/Using-a-Git-Checkout-of-the-ClojureScript-Compiler

and :optimizations :none in my build

after lein cljsbuild clean and compile I get this on running ...

 node crserve

/home/ritchie/Projects/cr3/site/crserve.js:1
(function (exports, require, module, __filename, __dirname) { goog.addDependen
                                                              ^
ReferenceError: goog is not defined
    at Object.<anonymous> (/home/ritchie/Projects/cr3/site/crserve.js:1:63)


it works if I keep :simple opts. It looks like cljsbuild is not picking up the 
new source paths?? Or I may be missing something very obvious to a veteran.

Thanks for any info.

Ritchie



On Monday, February 24, 2014 11:04:11 AM UTC-3, David Nolen wrote:
> At long last the ClojureScript compiler can now target Node.js under 
> optimizations :whitespace or :none as of this commit: 
> http://github.com/clojure/clojurescript/commit/0c7b31ada01237de33cef77b817ccef3f2b3576d
> 
> 
> 
> Some basic notes here: 
> http://github.com/clojure/clojurescript/wiki/Quick-Start#wiki-notes-on-optimization-settings
> 
> 
> 
> This change coupled with Node.js source mapping tools 
> (https://github.com/evanw/node-source-map-support) can hopefully eventually 
> provide a development experience for Node.js comparable to the one we 
> currently provide for browsers.
> 
> 
> 
> Please give it a try!
> 
> 
> David

-- 
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.

Reply via email to