hoplon v0.3.2 mix hoplon.diff View Source
Prints out the diff between the repository code and the hex package code for a given dependency.
$ mix hoplon.diff <package_name>
is equivalent to
$ diff -r <package_code_directory> ./deps/<package_name>
You can provide custom options to mix hoplon.diff
- just add them after the package name.
For example
$ mix hoplon.diff ecto -ruN -x .git
would translate to
$ diff -ruN -x .git <ecto_repo_dir> ./deps/ecto
The task will forward the exit code of the diff
call, which means if the directories
do differ, the task will exit with a non-zero code.
Link to this section Summary
Link to this section Functions
Runs the task