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

respect bb.edn adjacent to invoked file #1541

Closed
borkdude opened this issue Apr 21, 2023 · 0 comments
Closed

respect bb.edn adjacent to invoked file #1541

borkdude opened this issue Apr 21, 2023 · 0 comments

Comments

@borkdude
Copy link
Collaborator

I'm considering the following change to bb:

~/my_project/bb.edn <- has medley in :deps 
~/my_project/script.bb <- uses medley.core, has #!/usr/bin/env bb shebang

/tmp $ ;; not inside ~/my_project
/tmp $ export PATH=$PATH:~/my_project
/tmp $ script.bb ;; works, uses ~/my_project/bb.edn as the "config" file
```

This lets you more easily create system-wide scripts, without using bbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant