You can clone with
HTTPS or Subversion.
Check for deps
Suppress error log
Download rebar from github using SSL
Download rebar if script does not exist in path
Remove local copy of the rebar script. Preferentially use the user's
rebar script, if it exists in their path; otherwise, try to download it.
Since the download is in the clear, a future improvement would check a
hash before running the script.
Create the directory structure
Misunderstood rebar sub_dirs, thought it would create the sub_dirs.
Move to Makefile.
Locate the rebar script
Use rebar to download epcap. Haven't test the supervisor/application
HTTP content sniffer