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
Original file line number Original file line Diff line number Diff line change
@@ -1 +1,2 @@
*.beam *.beam
deps
7 changes: 6 additions & 1 deletion Makefile
Original file line number Original file line Diff line number Diff line change
@@ -1,4 +1,9 @@
all: all: deps compile

deps:
@./rebar get-deps

compile:
@./rebar compile @./rebar compile


test: force test: force
Expand Down
2 changes: 1 addition & 1 deletion entop
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ do
esac esac
done 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=$? CODE=$?
if [[ $CODE -eq 101 ]]; then if [[ $CODE -eq 101 ]]; then
Expand Down
3 changes: 2 additions & 1 deletion rebar.config
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,4 @@
{erl_opts, [fail_on_warning, debug_info]}. {erl_opts, [fail_on_warning, debug_info]}.
{lib_dirs, [".."]}. {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.