Fork me on GitHub
#babashka
<
2023-05-22
>
jumar08:05:28

Could get-owner fn be added to babashka.fs to simulate java.nio.file.Files/getOwner ? Moreover, having ->link-opts public would be handy - any thoughts on that?

borkdude10:05:51

@U06BE1L6T Hey, seems reasonable. Can you post one (or two?) issues at babashka.fs?

pesterhazy12:05:35

If I understand it correctly, you can specify dependencies in either bb.edn or deps.edn. Which one is preferred, and why?

borkdude12:05:13

bb.edn is for the local project only (tasks, scripts). the deps in here are never shared with other projects. deps.edn is for when you're creating libraries you can use the dependencies from deps.edn in bb.edn by writing:

{:deps {my.awesome/project {:local/root "."}}}
always use a unique symbol for your project, similar to when you would use the library in other projects

pesterhazy12:05:06

Nice, concise explanation! (Maybe might be a place for this in a babashka FAQ or similar)

borkdude12:05:29

Maybe in the book? Feel free to provide PR or make an issue

borkdude12:05:02

it is described here already but maybe not sufficiently: https://book.babashka.org/#project-setup

borkdude12:05:52

Thanks, merged!