MBU: Mix Build Utilities v1.0.1 MBU.BuildTask View Source

BuildTask contains the macros that are used for making the tasks look nicer.

Link to this section Summary

Functions

Sets up the necessary things for a build task

Replacement for Mix.Task’s run/1, used similarly. Code inside will be run when the task is called, with @deps being run first unless deps: false is given in the arguments

Link to this section Functions

Link to this macro __using__(opts) View Source (macro)

Sets up the necessary things for a build task.

Each build task should have use MBU.BuildTask at its beginning. BuildTask automatically requires Logger so that doesn’t need to be added into the task itself.

Link to this macro task(args, list) View Source (macro)

Replacement for Mix.Task’s run/1, used similarly. Code inside will be run when the task is called, with @deps being run first unless deps: false is given in the arguments.