Hi guys :-) I am trying to use functions from com.biffweb.tasks, but it doesn't seem to work for me. did someone face a similar issue? I want to write some custom deploy tasks, and would like to use the functions from the above mentioned name space, but my IDE (and also when running clj -M:dev dev) seems to not recognize that ns. Does somebody know how to solve this?
here is a screenshot of what I see (I use intellij with cursive)
btw, from looking at deps.edn, it seems that this ns is imported directly from github, and not through maven, so this might be the issue but I am not sure how to fix it
the deps.edn -
Not sure exactly what's going on with cursive, though two of the functions in the first screenshot are private. the com.biffweb.tasks file is in need of some refactoring, and as part of that I ought to make some sort of public "task utils" namespace (I'm also planning to stop doing the com.biffweb.tasks.lazy thing--imo better just to have a separate namespace per task that gets loaded dynamically).
so far I've made all the helper functions private just because I haven't taken the time to decide what things I want to commit to maintaining as part of a public API. in the mean time you can use com.biffweb.tasks-runner/run-task to call other tasks. for the lower-level helper functions, you can just copy them into your project for now, which should also sidestep the cursive resolution thing.
Understood thank you very much for the help! :-)
any time 👌