-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Luo Tian edited this page Sep 20, 2020
·
1 revision
Welcome to the mimas wiki!
A task is not just 1 step, it has:
- data preparing, specify all its data for carrying out effects. The data will merge into a global data structure.
- 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.
Tasks never depend to each other directly, it only can depends on global keys. Therefore, we could:
- test task easily
- reimplement task easily
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.