Skip to content

Commit

Permalink
Use rebar deps to pull cecho
Browse files Browse the repository at this point in the history
  • Loading branch information
yrashk committed Feb 1, 2011
1 parent 1de833f commit baf583b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
*.beam
deps
7 changes: 6 additions & 1 deletion Makefile
@@ -1,4 +1,9 @@
all:
all: deps compile

deps:
@./rebar get-deps

compile:
@./rebar compile

test: force
Expand Down
2 changes: 1 addition & 1 deletion entop
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion 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.