shadow-cljs target broken
Closed this issue · 1 comments
thheller commented
In shadow-cljs 2.9.x
I removed the classpath indexing since it was causing a lot of issues and didn't provide much. It did however provide the classpath/get-all-resources
fn which is used here:
This no longer provides the necessary data and fails. I migrated all the official test targets to use the alternative instead which restores that functionality. You could either use the provided helper fn directly or use the replacement find-cljs-namespaces-in-files
fn if you want more custom filtering.
- https://github.com/thheller/shadow-cljs/blob/d80ee477020c91fa441bb205f52967c1100e2526/src/main/shadow/build/test_util.clj#L6
- https://github.com/thheller/shadow-cljs/blob/d80ee477020c91fa441bb205f52967c1100e2526/src/main/shadow/build/targets/node_test.clj#L42
- https://github.com/thheller/shadow-cljs/blob/d80ee477020c91fa441bb205f52967c1100e2526/src/main/shadow/build/test_util.clj#L15
awkay commented
Excellent. Thanks!