Clojure and Genie starter kit - containing up-to-date versions of most used libraries in (Genie) scripts and Clojure applications.
When new versions of libraries appear, need to update a lot of project.clj and deps.edn files. Also the versions might be conflicting, especially in a Genie process where many scripts can run.
Some goals:
- Only include this starter library in Genie scripts.
 - Updates to libraries only in this starter-library
 - Script automatically get the newest versions by using this starter.
 
Leiningen/Boot
[ndevreeze/starter "0.1.0-SNAPSHOT"]
Clojure CLI/deps.edn
ndevreeze/starter {:mvn/version "0.1.0-SNAPSHOT"}
The SNAPSHOT is by design, so new versions will be added automatically. At some point it might be needed to freeze a version.
Require:
(ns my.namespace (:require [ndevreeze.starter :as starter]))
Then require namespaces in the standard way.
$ lein midje
or:
$ lein repl (or start in Cider) (use 'midje.repl) (autotest)
See codox generated API docs And cljdoc too: https://cljdoc.org/d/ndevreeze/starter/0.1.0-SNAPSHOT/api/ndevreeze
(change the version and visit the cljdoc link to generate new docs for new version)
Mostly not needed, just a few functions are available for checking if we have the right version.
lein codox
# commit and push to github
# wait a few minutes for github to push to ndvreeze.github.ioAlso build Clojars docs from the site: https://cljdoc.org/d/ndevreeze/starter/0.1.0-SNAPSHOT/doc/readme
https://github.com/ndevreeze/starter/releases/new
Also create a tag for this release. Do a git pull to get tag locally after creating it online.
lein deploy clojars- No known errors. Use Github issues if you want to report a bug.
 
- https://github.com/pjlegato/onelog - used as a base for this library, but some differences.
 - https://github.com/malcolmsparks/clj-logging-config - also used as a base
 
- 0.1.0-SNAPSHOT - First version, as try-out for Genie scripts.
 
Copyright © 2024 Nico de Vreeze.
Distributed under the Eclipse Public License, the same as Clojure.