Skip to content

Commit

Permalink
Adding all the projects file.
Browse files Browse the repository at this point in the history
  • Loading branch information
dim committed Jul 20, 2002
1 parent 2f9e538 commit 124fd62
Show file tree
Hide file tree
Showing 23 changed files with 3,285 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Makefile
@@ -0,0 +1,21 @@
# Make the html files from the chords one
OPT = -W
INC = ./inc
CC = erlc

SRC=$(wildcard src/*.erl)
TMP=$(wildcard src/*~) $(wildcard inc/*~)
TARGET=$(addsuffix .beam, $(basename $(addprefix ebin/, $(notdir $(SRC)))))
EMAKE = $(addsuffix \'., $(addprefix \'../, $(SRC)))

all: $(TARGET)

# used to generate the erlang Emakefile
emake:
@echo $(EMAKE) | tr -s ' ' '\n' > ebin/Emakefile

clean:
-rm -f $(TARGET) $(TMP)

ebin/%.beam: src/%.erl
$(CC) $(OPT) -I $(INC) -o ebin $<
12 changes: 12 additions & 0 deletions README
@@ -0,0 +1,12 @@
This is manderlbot, an attempt to write an irc bot in erlang, with a XML
based configuration.

To use it, install erlang, then xmerl-0.15
http://www.erlang.org/user.html#xmerl-0.15

On my system this means install the compiled files in
/usr/lib/erlang/lib/xmerl-0.15

To start manderlbot, simply launch erlang shell
erl
> application:start(manderlbot).
14 changes: 14 additions & 0 deletions TODO
@@ -0,0 +1,14 @@
Behaviours
Fortune
On logue quelques ligne et sur demande on fortune les dernieres
n lignes demand�s...

Rumeur
Avec un nick en argument, raconte des choses

Config
DTD
Behaviours lists, inheritance

Others
Do regexp matchings case independant (Lower/Upper case)

0 comments on commit 124fd62

Please sign in to comment.