Skip to content

Commit

Permalink
Merge pull request #428 from tonsky/patch-1
Browse files Browse the repository at this point in the history
Avoid calls to cljs.build.api/src-file->target_file on deps.cljs
  • Loading branch information
mneise committed Dec 18, 2015
2 parents 55cef95 + b5d1c7d commit 05d3a19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion support/src/cljsbuild/compiler.clj
Expand Up @@ -133,7 +133,9 @@
(into {}
(for [cljs-path (concat cljs-paths checkout-paths)]
[cljs-path (util/find-files cljs-path (conj additional-file-extensions "clj"))]))
cljs-files (mapcat #(util/find-files % (conj additional-file-extensions "cljs")) (concat cljs-paths checkout-paths [crossover-path]))
cljs-files (->> (concat cljs-paths checkout-paths [crossover-path])
(mapcat #(util/find-files % (conj additional-file-extensions "cljs")))
(remove #(contains? cljs.compiler/cljs-reserved-file-names (.getName (io/file %)))))
js-files (let [output-dir-str
(.getAbsolutePath (io/file (:output-dir compiler-options)))]
(->> lib-paths
Expand Down

0 comments on commit 05d3a19

Please sign in to comment.