Fork me on GitHub

hello everyone, i'm wondering on importing babashka scripts locally, and then running a -main command straight from the command line. i have 3 scripts each with their own namespace, and i added src where why scripts live to my deps.edn :path. however when i try to run bb -m src/<project-name>/main.clj i get an errer -- could not find namespace: src?


Aha! I figured it out, I was adding :path to deps.edn, but I should've been using bb.edn in order to get automatic additions to classpath


You can also add a :deps key to your bb.edn to have it use deps.edn, like so:


Thanks for quacking :)

duckie 2