I actually got started with this a long time ago and asked for some advice here: How to include build number?
Now I have a small library that gathers together:
- Date and time of the build
- Git information (commit, committer, date and time)
- Name and version from project.clj
- Environment variables for the build (e.g. Jenkins build number)
and puts it in a
defonce, from where you can find it.
It’s called Say-cheez and it’s here: https://github.com/l3nz/say-cheez
I find it pretty useful, so I thought maybe somebody else could be interested as well. Not rocket science, but just works and is out of the way. Also, though I don’t use ClojureScript myself, I think that it should just work in ClojureScript by replacing the