I spent some time today getting deeper into Clojurescript on node, though got 
stuck on the absence of :optimizations :none support in clojurescript.test (I'm 
hybridizing a large Clojure project to target node specifically - compile times 
are substantial).

I ran into this project: 
https://github.com/mike-thompson-day8/cljsbuild-none-test-seed - however it 
seems to depend on an implementation detail of the Closure library which 
doesn't exist in recent versions.

I came up with this: https://github.com/nervous-systems/cljs-node-test-example 
- the only vaguely interesting few lines are here: 
https://github.com/nervous-systems/cljs-node-test-example/blob/8d63f2b9f32eb93967be01d5763462a00f620d01/none-runner.js#L50

Another approach would be to iterate through goog.dependencies, stat all the 
paths & require only the modules with paths present beneath the output 
directory - though I prefer the approach above.

Anyway, my hope is I'll either save somebody else an afternoon of rocking back 
and forth in front of a terminal, or find out there's a much simpler way to do 
this.

Take care,
Moe

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