Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*~
.DS_Store
*.beam
ebin/*
src/erlog_scan.erl
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@ ERLC_FLAGS=-W0 -Ddebug +debug_info
ERLC=erlc -I $(INCLUDE_DIR) -o $(EBIN_DIR) $(ERLC_FLAGS) $(SOURCE_DIR)
ERL=erl -I -pa ebin -noshell -eval

all: compile docs
all: compile

compile:
mkdir -p $(EBIN_DIR)
$(ERLC)/*.erl
@rebar clean compile

docs:
#$(ERL) -noshell -run edoc file $(SOURCE_DIR)/leex.erl -run init stop
#$(ERL) -noshell -run edoc_run application "'Leex'" '"."' '[no_packages]'
#mv $(SOURCE_DIR)/*.html $(DOC_DIR)/
@rebar doc

clean:
@rebar clean
rm -rf erl_crash.dump
rm -rf $(EBIN_DIR)/*.beam
rm -rf $(DOC_DIR)/*.html
18 changes: 0 additions & 18 deletions ebin/erlog.app

This file was deleted.

Binary file added rebar
Binary file not shown.
4 changes: 4 additions & 0 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{sub_dirs, []}.
{edoc_opts, [{preprocess, true}]}.
{cover_enabled, true}.

13 changes: 13 additions & 0 deletions src/erlog.app.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{application, erlog,
[
{description, "Erlog is a Prolog interpreter implemented in Erlang and integrated
with the Erlang runtime system. It is a subset of the Prolog standard.
An erlog shell is also included."},
{vsn, "0.1"},
{registered, []},
{applications, [
kernel,
stdlib
]},
{env, []}
]}.
Loading