Skip to content
Luo Tian edited this page Sep 20, 2020 · 1 revision

Welcome to the mimas wiki!

Core design change thoughts

A task is not just 1 step, it has:

  1. data preparing, specify all its data for carrying out effects. The data will merge into a global data structure.
  2. effects execution, possibly IO. It will use the global data structure to do so.

For example,

tools.deps could be thought as a task, it provides data of :deps global key, the effects carrying out is resolve-deps function call, also provide :classpath global key.

task dependencies

Tasks never depend to each other directly, it only can depends on global keys. Therefore, we could:

  1. test task easily
  2. reimplement task easily

Mimas script

Instead of wait for calling by clojure script, the user should invoke a "mimas" script, it is just a simple clojure -Sdeps '{robortluo/mimas {...}}' -m robortluo.mimas, as in this project's reason.

Therefore deps.edn file is not a start point of mimas:

  • it will be deps task's information source.
Clone this wiki locally