Skip to content

Commit

Permalink
Merge pull request #7 from metajack/master
Browse files Browse the repository at this point in the history
rebarizing log4erl
  • Loading branch information
ahmednawras committed Sep 12, 2011
2 parents 7a22f69 + fea5ca3 commit c201a75
Show file tree
Hide file tree
Showing 9 changed files with 29 additions and 1,592 deletions.
4 changes: 4 additions & 0 deletions .gitignore
@@ -0,0 +1,4 @@
deps
ebin
src/log4erl_lex.erl
src/log4erl_parser.erl
24 changes: 10 additions & 14 deletions Makefile
@@ -1,17 +1,13 @@
SRC = src
all: compile

all: subdirs
depends:
./rebar get-deps
./rebar update-deps

subdirs:
cd ${SRC}; make
compile:
./rebar compile

# remove all the code
clean:
rm -rf ebin/*.beam erl_crash.dump
rm -f *~
rm -f src/*~
rm -f ebin/*~
rm -f include/*~
cd ${SRC}; make clean
#install:
# cp -f ebin/* ../../www/ebin
clean:
./rebar clean

.PHONY: all depends compile
33 changes: 0 additions & 33 deletions ebin/log4erl.app

This file was deleted.

Binary file added rebar
Binary file not shown.
5 changes: 5 additions & 0 deletions rebar.config
@@ -0,0 +1,5 @@
%% -*- mode: erlang -*-

{deps, [{mochiweb, "1.5.1",
{git, "git://github.com/mochi/mochiweb.git",
{tag, "1.5.1"}}}]}.
10 changes: 10 additions & 0 deletions src/log4erl.app.src
@@ -0,0 +1,10 @@
%% -*- mode: erlang -*-

{application, log4erl,
[{description, "Logger for erlang in the spirit of Log4J"},
{vsn, "0.9.0"},
{registered,[log4erl]},
{applications, [kernel,stdlib]},
{mod, {log4erl,[]}},
{start_phases, []}
]}.

0 comments on commit c201a75

Please sign in to comment.