Open geoffroy-noel-ddh opened 5 years ago
I'm not averse to having the static build target allow for this, but remember that it is just the lightest of wrappers around a single wget call. The intent was to provide a simple way for non-developers to get a static set of files to then be hosted, rather than as a sysadmin tool.
Patches are welcome!
Currently build.sh static relies on another instance of a kiln running in the background. It would be very convenient to have a single, stand-alone command that generates the dist.
Use case: A cron job to regularly generate a handful of html from TEI source files modified by an editorial team. I'd rather not have jetty running as a service and consuming a lot of memory just for the periodic conversions. And I'd also like to have this fully automated (i.e. not start and stop it manually).
Ideally there would be a way to run transforms entirely in the foreground. If that's not possible then at least starting kiln, downloading the dist from it and stopping kiln within the same bash.