BaBashka Labmda Function
Utilities for building and working with babashka scripts as lambda functions
- opts for config stuff
- redo the bootstrap/tasks/etc maybe package as bbin?
- check for bblf deps inclusion when building package, maybe inject at package build time?
- looks at the task config stuff here
- make the library bits for working with lambda includable
- figure out what to do with LICENSE and Credits
- use self contained executable for packaging see
ideal state: I'd like to be able to have a pretty normal function and wrap it in handler bits for lambda and call a task to make the lambda zip artifact
There are 2 distinct modes of operation:
- CLI for packaging lambda functions.
update code snippet to use published version vs. local
```sh
bbin install .
bblf build
```
- Library for wrapping existing fuctions for use as lambda fuctions.
normal deps icclued, require and wrap stuffsomthing like:
(require '[em-schmidt/bblf :as lf])
(defn dostuff
[]
(println "I did stuff"))
(defn entrypoint
[]
(lf/run dostuff))This started as a fork of blabmda, but I quickly ran into issues that I needed to resolve with regards to pod depenedncies, deployment style, etc.
Much credit to prior art: