You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,25 +45,36 @@ project's root, add `babashka-project-tasks` to your
45
45
46
46

47
47
48
+
## Customization
49
+
`babashka-command` - The command used to execute Babashka, if [CIDER](https://cider.mx/) is loaded, gets its default value from `cider-babashka-command`, so you don't need to customize both.
50
+
51
+
`babashka-async-shell-command` - a single-arity Emacs lisp function to call `babashka-command`. The default value is `async-shell-command`, another possible option is `detached-shell-command` from [detached.el](https://sr.ht/~niklaseklund/detached.el/) package.
52
+
53
+
`babashka-annotation-function` - a function to convert `tasks` hashtable to (task . documentation) alist. The only available option now is `babashka--annotation-function`.
54
+
48
55
## Installation
49
56
Babashka.el is available on [MELPA](https://melpa.org/#/babashka) and [MELPA Stable](https://stable.melpa.org/#/babashka) and can be installed with:
50
57
51
58
```
52
59
M-x package-install RET babashka RET
53
60
```
54
61
55
-
or using `use-package`:
62
+
or using `use-package`[ensure feature](https://github.com/jwiegley/use-package#package-installation):
56
63
57
64
```elisp
58
65
(use-package babashka)
59
66
```
60
67
68
+
Don't forget to explicitly ensure the installation:
69
+
70
+
```elisp
71
+
(use-package babashka
72
+
:ensure t)
73
+
```
74
+
if `use-package-always-ensure` is not set.
75
+
61
76
## Versioning
62
77
The project uses [break versioning](https://github.com/ptaoussanis/encore/blob/master/BREAK-VERSIONING.md), meaning that upgrading from 1.0.x to 1.0.y will always be safe, upgrade to 1.y.0 might break something small, and upgrade to y.0.0. will break almost everything. That was a versioning spec in one sentence, by the way.
63
78
64
79
## Contributing
65
80
If you have more ideas about using babashka from Emacs — please submit a PR or a feature request.
0 commit comments