Fork me on GitHub
#leiningen
<
2017-09-21
>
Aron09:09:00

i am using lein repl on windows and i don't have java completions. how can i configure them?

adamfrey14:09:55

with lein test is there a way to run tests in namespaces that match a wildcard? I wanted lein test intergation.* to run tests in namespace that start with integration, but it doesn't. Is there another way to do that?

noisesmith14:09:37

@adamfrey the normal way to do that is put metadata on the tests, and pass the metadata key as an arg to lein test

noisesmith14:09:13

so you have (deftest ^:integration db-integration ...) and then lein test :integration will find and run all tests with that metadata

noisesmith14:09:33

you can also put multiple metadata on one test, or run multiple tags in one lein test run

adamfrey14:09:55

ok, I'll try that, thanks

dfcarpenter20:09:13

beginner question: I have a clojurescript project nested in a django app. Its isolated from other apps and I don't want the project.clj at the root level of the project. Nonetheless when building the cljs project I need the build artifacts (:output-to, etc) to go to a parent (relative to the cljs folder) folder. How would I do this?

noisesmith20:09:08

@dfcarpenter wouldn't a path starting with ../ work?

dfcarpenter22:09:17

@noisesmith Ahh yes so obvious. Don't know why I just didn't try that first. Thanks!