aspis v0.1.0 mix aspis.diff View Source
Prints out the diff between the repository code and the hex package code for a given dependency.
$ mix aspis.diff <package_name>
is equivalent to
$ diff -r <package_code_directory> ./deps/<package_name>
You can provide custom options to mix aspis.diff
- just add them after the package name.
For example
$ mix aspis.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