Skip to content
Permalink
Browse files
Use rebar to build and test mochiweb
  • Loading branch information
David Reid committed Oct 13, 2010
1 parent 7c2bc22 commit 8f380bc8c4a5cdbd1185fe79910d22df09215dc5
Showing 5 changed files with 16 additions and 45 deletions.
@@ -1,3 +1,4 @@
/ebin
/doc
/_test
.eunit
@@ -1,20 +1,19 @@
all: ebin/
(cd src;$(MAKE) all)
REBAR=./rebar

all:
@$(REBAR) compile

edoc:
(cd src;$(MAKE) edoc)
@$(REBAR) doc

test: ebin/
(cd src;$(MAKE) test)
test:
@$(REBAR) eunit

clean:
rm -rf ebin
@$(REBAR) clean

clean_plt:
(cd src;$(MAKE) clean_plt)
build_plt:
@$(REBAR) build_plt

dialyzer:
(cd src;$(MAKE) dialyzer)

ebin/:
@mkdir -p ebin
@$(REBAR) analyze
BIN +82.4 KB rebar
Binary file not shown.
@@ -0,0 +1,4 @@
% -*- mode: erlang -*-
{erl_opts, [debug_info]}.
{cover_enabled, true}.
{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.

This file was deleted.

0 comments on commit 8f380bc

Please sign in to comment.