Skip to content
Permalink
Browse files
Merge branch 'master' of github.com:mochi/mochiweb
  • Loading branch information
doubleyou committed Dec 17, 2010
2 parents 0053b54 + 86e2b03 commit c70d4733a27c130dfe411ec4bf87499cbd250007
Showing 53 changed files with 476 additions and 703 deletions.
@@ -1,3 +1,5 @@
/ebin
/doc
/_test
/.eunit
/docs
@@ -1,20 +1,29 @@
all: ebin/
(cd src;$(MAKE) all)

PREFIX:=../
DEST:=$(PREFIX)$(PROJECT)

REBAR=./rebar

all:
@$(REBAR) get-deps compile

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

test: ebin/
(cd src;$(MAKE) test)
test:
@rm -rf .eunit
@mkdir -p .eunit
@$(REBAR) skip_deps=true eunit

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

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

dialyzer:
(cd src;$(MAKE) dialyzer)
@$(REBAR) analyze

app:
@$(REBAR) create template=mochiwebapp dest=$(DEST) appid=$(PROJECT)

ebin/:
@mkdir -p ebin
6 README
@@ -7,3 +7,9 @@ The master of MochiWeb is tested with R13B04 and later. A branch compatible
with R12B is maintained separately at http://github.com/lemenkov/mochiweb
The R12B branch of that repository is mirrored in the official repository
occasionally for convenience.

To create a new mochiweb using project:
make app PROJECT=project_name

To create a new mochiweb using project in a specific directory:
make app PROJECT=project_name PREFIX=$HOME/projects/

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

BIN +84.7 KB rebar
Binary file not shown.

0 comments on commit c70d473

Please sign in to comment.