You can build individual examples, "tests" can't be built - it's just a dummy thing that I use when I need to quickly verify something.
David On Sat, Feb 15, 2014 at 3:00 PM, boz <b...@cox.net> wrote: > Thanks David! > > I get this on a fresh clone (commit > 7327bcdc17a665d5fde66376bfef9aa2b21c675a) > Compiling "examples/tests/main.js" failed. > java.io.FileNotFoundException: examples/tests/src (No such file or > directory) > > $ mkdir examples/tests/src > and build again works fine. > > --- long version --- > bozs-mbp:~/dev/clojure/temp/om (master|169m) $ lein cljsbuild once > Compiling ClojureScript. > Compiling "script/tests.simple.js" from ["src" "test"]... > Successfully compiled "script/tests.simple.js" in 15.829 seconds. > Compiling "examples/hello/main.js" from ["src" "examples/hello/src"]... > Successfully compiled "examples/hello/main.js" in 4.091 seconds. > Compiling "examples/mouse/main.js" from ["src" "examples/mouse/src"]... > WARNING: No such namespace: goog.events.EventType at line 23 > examples/mouse/src/core.cljs > Successfully compiled "examples/mouse/main.js" in 6.781 seconds. > Compiling "examples/multiroot/main.js" from ["src" > "examples/multiroot/src"]... > Successfully compiled "examples/multiroot/main.js" in 3.775 seconds. > Compiling "examples/counters/main.js" from ["src" > "examples/counters/src"]... > Successfully compiled "examples/counters/main.js" in 5.824 seconds. > Compiling "examples/animation/main.js" from ["src" > "examples/animation/src"]... > Successfully compiled "examples/animation/main.js" in 3.538 seconds. > Compiling "examples/shared/main.js" from ["src" "examples/shared/src"]... > Successfully compiled "examples/shared/main.js" in 3.533 seconds. > Compiling "examples/typeahead/main.js" from ["src" > "examples/typeahead/src"]... > WARNING: Extending an existing JavaScript type - use a different symbol > name instead of js/String e.g string at line 29 > examples/typeahead/src/core.cljs > WARNING: Extending an existing JavaScript type - use a different symbol > name instead of js/Number e.g number at line 39 > examples/typeahead/src/core.cljs > Successfully compiled "examples/typeahead/main.js" in 3.577 seconds. > Compiling "examples/sortable/main.js" from ["src" > "examples/sortable/src"]... > Successfully compiled "examples/sortable/main.js" in 5.916 seconds. > Compiling "examples/graft/main.js" from ["src" "examples/graft/src"]... > Successfully compiled "examples/graft/main.js" in 3.459 seconds. > Compiling "examples/tests/main.js" from ["src" "examples/tests/src"]... > Compiling "examples/tests/main.js" failed. > java.io.FileNotFoundException: examples/tests/src (No such file or > directory) > at java.io.FileInputStream.open(Native Method) > at java.io.FileInputStream.<init>(FileInputStream.java:138) > at clojure.java.io$fn__8638.invoke(io.clj:233) > ... > Subprocess failed > bozs-mbp:~/dev/clojure/temp/om (master|170m) $ mkdir examples/tests/src > bozs-mbp:~/dev/clojure/temp/om (master|171m) $ lein cljsbuild once > Compiling ClojureScript. > Compiling "examples/tests/main.js" from ["src" "examples/tests/src"]... > Successfully compiled "examples/tests/main.js" in 7.81 seconds. > > On Thursday, February 13, 2014 10:02:50 PM UTC-8, David Nolen wrote: >> >> Happy to announce a new release of Om. There are some breaking changes >> mostly to make the API more uniform - om.core/root was needlessly different >> from om.core/build. >> >> The biggest and most exciting change is the inclusion of the :tx-listen >> option to om.core/root. This will setup a callback which will be invoked >> whenever an app state transaction occurs. This function will receive a map >> tx-data which will include the :path that changed, :old-value and >> :new-value on that path, :new-state and :old-state which is the entire >> application (useful for rollbacks), and :tag if one was provided by the >> transact! / update! call. >> >> It's extremely powerful to make a subscribeable channel out of this and >> share it over your entire application via om.core/root's :shared option. >> This is exactly what the reusable om-sync component does http.:// >> github.com/swannodette/om-sync. >> >> For a full list of changes, bug fixes, and enhancements: >> >> http://github.com/swannodette/om/blob/master/CHANGES.md >> >> Feedback welcome! >> >> David >> >> >> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.