lambdaisland / open-source

A collection of Clojure/ClojureScript tools and libraries
44 stars 5 forks source link

Add kaocha-cucumber doc build command. #14

Closed alysbrooks closed 2 years ago

alysbrooks commented 2 years ago

Creates a command to build our cucumber docs.

Babashka cannot load the cucumber libraries, so for this to work, we'll need to create a pod.

alysbrooks commented 2 years ago

Pod's probably not a good short-term plan, so I'm thinking the way to go is to run the doc generation on the JVM using lioss.cucumber/main or using the alias, clojure -M:cucumber.

Michiel Borkent suggested using nbb and a JavaScript Cucumber library, but I don't know that we want to switch to nbb for this either.

plexus commented 2 years ago

Yes, let's just run this on the JVM. Given how rarely we update kaocha-cucumber I wouldn't put too much work into streamlining this. If we have working instructions on how to update the docs around release time then that's good enough.