Thanks for the tip! Sadly, doesn't seem to make any difference - here's the updated project.clj and the (same) output: https://gist.github.com/c159e76e559f407287ce
SEVERE: /Users/sgrove/code/clojure/zenbox/.lein-cljsbuild-compiler-1/zenbox/test/main.js:3: ERROR - required "zenbox.main" namespace never provided goog.require('zenbox.main'); ^ zenbox.main is defined in src/cljs/main.cljs: (ns zenbox.main (:require [domina :as domina] [domina.css :as dcss] [goog.events :as ge] [goog.ui.Component.State] [goog.Disposable] [goog.ui.Menu] [goog.ui.MenuButton] [goog.ui.MenuItem] [goog.ui.MenuSeparator] [goog.ui.PopupMenu] [goog.dom :as gd] [goog.dom.DomHelper :as gdh] [goog.positioning :as gp] [zenbox.events :as ze] [zenbox.dom :as zd] [zenbox.profile-data :as data] [zenbox.templates :as templates] [zenbox.widget.user-profile :as zup])) Any other ideas? On Tue, Nov 27, 2012 at 11:24 AM, David Nolen <dnolen.li...@gmail.com> wrote: > I think you need to make sure that the cljs files are also on the Lein 2 > :source-paths > > David > > > On Tue, Nov 27, 2012 at 12:50 PM, Sean Grove <s...@cloudfuji.com> wrote: >> >> I've been trying to create a simple project with CLJS source and CLJS >> tests using lein-cljsbuild 0.2.9, but it doesn't seem to be able to >> pick up on the cljs source. >> >> How can I get the clojurescript tests to compile/run and include the >> actual project source? >> >> The output from running `lein clean && lein cljsbuild test`, the >> project.clj, and the relevant cljs files are all here: >> https://gist.github.com/31613f73e92212e161bb >> >> The repo structure is: >> >> / >> |-src >> |- -/clj >> |- -/cljs >> |- |-main.cljs >> |-test >> |- - test.cljs >> |- -/zenbox >> |- |-test/ >> |- |-main.cljs >> >> -- >> 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 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 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