Handy tasks and things for the boot Clojure build tool.
- Parses a
gpg.edn file to configure GPG keyring and key ID for jar signing.
This is an example build and deployment workflow. It showcases the generality of boot. We actually use this at Adzerk, but you should fork and tailor it for your own organization.
bootlaces to your
build.boot dependencies and
require the namespace:
(set-env! :dependencies '[[adzerk/bootlaces "X.Y.Z" :scope "test"]])
(require '[adzerk.bootlaces :refer :all])
Then initialize bootlaces with the project version:
(def +version+ "0.0-2371-5")
# build and install project jar file
# set environment variables
# deploy snapshot to clojars
boot build-jar push-snapshot
# deploy release to clojars
boot build-jar push-release
gpg.edn file format:
:user-id "Micha Niskin <email@example.com>"}
gpg.edn can be global, sourced fom your home directory, or local to your project. Local
gpg.edn takes precedence over global one.
Copyright © 2014 Micha Niskin and Alan Dipert
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.