From b04d86362b372d289dba9b215818ab8c722ececc Mon Sep 17 00:00:00 2001 From: ImJinmo Date: Thu, 28 Jan 2016 05:07:45 +0900 Subject: [PATCH] forward-slashed ids for Windows --- src/adzerk/boot_cljs.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adzerk/boot_cljs.clj b/src/adzerk/boot_cljs.clj index 28d1c69..9d7b6c0 100644 --- a/src/adzerk/boot_cljs.clj +++ b/src/adzerk/boot_cljs.clj @@ -82,9 +82,9 @@ (map core/tmp-path))) (defn main-files [fileset ids] - (let [re-pat #(re-pattern (str "^\\Q" % "\\E\\.cljs\\.edn$")) + (let [rel-paths (map #(io/as-relative-path (str % ".cljs.edn")) ids) select (if (seq ids) - #(core/by-re (map re-pat ids) %) + #(core/by-path rel-paths %) #(core/by-ext [".cljs.edn"] %))] (->> fileset core/input-files