diff --git a/.gitignore b/.gitignore index 17278c0..0165bc8 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ *.beam +deps diff --git a/Makefile b/Makefile index ee9192a..f65440a 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,9 @@ -all: +all: deps compile + +deps: + @./rebar get-deps + +compile: @./rebar compile test: force diff --git a/entop b/entop index e9d192d..b9cc07c 100755 --- a/entop +++ b/entop @@ -46,7 +46,7 @@ do esac done -erl -noinput -hidden -pa ebin/ -pa ../cecho/ebin/ +A 20 +Bc -eval "entop:start('${TARGETNODE}')" $NAME $COOKIE $@ +erl -noinput -hidden -pa ebin -pa deps/cecho/ebin +A 20 +Bc -eval "entop:start('${TARGETNODE}')" $NAME $COOKIE $@ CODE=$? if [[ $CODE -eq 101 ]]; then diff --git a/rebar.config b/rebar.config index 3752d9c..9b77785 100644 --- a/rebar.config +++ b/rebar.config @@ -1,3 +1,4 @@ {erl_opts, [fail_on_warning, debug_info]}. {lib_dirs, [".."]}. -{clean_files, ["ebin/*.beam"]}. \ No newline at end of file +{clean_files, ["ebin/*.beam"]}. +{deps, [{cecho, ".*", {git, "https://github.com/mazenharake/cecho.git", "HEAD"}}]}. \ No newline at end of file