Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use rebar deps to pull cecho

  • Loading branch information...
commit baf583bdac01f34ca58d2dfb4175628c9fba9aef 1 parent 1de833f
@yrashk yrashk authored
Showing with 10 additions and 3 deletions.
  1. +1 −0  .gitignore
  2. +6 −1 Makefile
  3. +1 −1  entop
  4. +2 −1  rebar.config
View
1  .gitignore
@@ -1 +1,2 @@
*.beam
+deps
View
7 Makefile
@@ -1,4 +1,9 @@
-all:
+all: deps compile
+
+deps:
+ @./rebar get-deps
+
+compile:
@./rebar compile
test: force
View
2  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
View
3  rebar.config
@@ -1,3 +1,4 @@
{erl_opts, [fail_on_warning, debug_info]}.
{lib_dirs, [".."]}.
-{clean_files, ["ebin/*.beam"]}.
+{clean_files, ["ebin/*.beam"]}.
+{deps, [{cecho, ".*", {git, "https://github.com/mazenharake/cecho.git", "HEAD"}}]}.

0 comments on commit baf583b

Please sign in to comment.
Something went wrong with that request. Please try again.