Linux, java version "1.7.0_07"
External JS files are not compiled by ClojureScript as they used to be.
The project available at https://github.com/pallix/cljs-bug illustrated this.
:libs ["src-js/libs"] is specified in project.clj but the files it contained will not be compiled when calling "lein cljsbuild once".
The scripts/test_bug.sh file can be runned and will return a non-zero value when the test fails.
|Comment by David Nolen [ 31/Oct/13 4:52 PM ]|
|Comment by Chas Emerick [ 01/Nov/13 1:09 PM ]|
I think this has trickled up from https://github.com/emezeske/lein-cljsbuild/issues/203. David is right that filesystem entries in :libs need to be paths to files, but they can also be classpath prefixes (which is why the workaround discussed in
Pierre, if you add "src-js/libs" to your project.clj's :source-paths vector, I think that might fix the problem.
There's probably a good argument to be made that the different types of :libs entries should be separated out into different options…