distributed_test v0.2.2 Mix.Tasks.Run.Distributed

Run a project in a distributed environment.

This mix task starts up a cluster of nodes before running the Mix.Tasks.Run mix task. The number of nodes to start (besides the master node) can be set using the “-count #” switch (defaults to 4). Each slave node will have the code and application environment from the master node loaded onto it. All switches for the mix run task will be passed along to it.

Summary

Functions

A task needs to implement run which receives a list of command line args

Functions

run(params)

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.