Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support passing args to deps.clj #808

Closed
borkdude opened this issue Apr 27, 2021 · 2 comments
Closed

Support passing args to deps.clj #808

borkdude opened this issue Apr 27, 2021 · 2 comments
Labels

Comments

@borkdude
Copy link
Collaborator

borkdude commented Apr 27, 2021

E.g. bb --deps-args '-J-Duser.home=/foo -Sdeps "..."' or perhaps more composable:

bb -C-J-Duser.home=foo -C-Sdeps ...

or perhaps "direct" support (of which I'm not a fan because this might interfere with future args):

bb -Sforce ...
@borkdude
Copy link
Collaborator Author

Adding the --force option to cover -Sforce.

@borkdude
Copy link
Collaborator Author

borkdude commented Aug 6, 2022

We also need -Sdeps ....

As discussed with @jmglov, he wanted to add :mvn/local-repo to his configuration, but it was a bit cumbersome to get this done, unless adding it directly to bb.edn. Having -Sdeps '{:mvn/local-repo ...}' might be better.

We could just rename --force directly to -Sforce too since this is what people know from the clojure CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant