robertluo / mimas

a minimal build tool for tools.deps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A minimum build library for tools.deps

CircleCI

tools.deps is not a build tool itself, but the management of dependencies overlaps to other build tools such as leiningen and boot. Having a build script available is easy for most clojure projects.

There are some wonderful build libraries like badigeon, kaocha, even tools original built for leiningen or boot are also easy to use in this new context (after all, there are just clojure libraries!), like cloverage, eftest. A mini library to organize these libraries together will be handy.

Usage

Insert these into your deps.edn:

{:aliases
 {:dev
  {:extra-paths ["dev" "test"]
   :extra-deps
   {robertluo/mimas
    {:git/url "https://github.com/robertluo/mimas"
     :sha "$RELEASE-SHA-COPY-FROM-UI"}}}}}

Create a file build.clj under dev directory as your own build script:

(ns build
  (:require [robertluo.mimas :as mimas]))

(def -main (mimas/f->main mimas/build))

About

a minimal build tool for tools.deps


Languages

Language:Clojure 100.0%