X-Git-Url: https://njoseph.me/gitweb/babashka-scripts.git/blobdiff_plain/f7a7c8852fc7f3a47f858ad4fbf6b177735f52c0..f1d839f5e616cf6f3b121c3b34a4fd16b2200a8c:/README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f02c678 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# Babashka Scripts + +Miscellaneous [babashka](https://babashka.org "babashka website") scripts I wrote for my own personal use. + +## Requirements + +babashka (>= 0.2.9) + +## Usage + +Clone this repository. + +``` sh +cd ~/dev +git clone https://njoseph.me/gitweb/babashka-scripts.git +``` + +Add the following lines to your shell configuration file. + +``` sh +export BABASHKA_PRELOADS='(load-file (str (System/getProperty "user.home") "/dev/babashka-scripts/lib.clj"))' +export PATH=$PATH:$HOME/dev/babashka-scripts +``` + +## Organization + +`lib.clj` contains functions that the other scripts might use. It must be loaded first.