Skip to content

Commit

Permalink
Merge pull request #4 from archaelus/rebar3
Browse files Browse the repository at this point in the history
Rebar3ization
  • Loading branch information
archaelus committed Jun 3, 2015
2 parents 2da42f8 + b0fbbd3 commit a9941c7
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 75 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -5,3 +5,5 @@ priv/log/*
doc/*
misc/*
erl_crash.dump
_build/*
rebar.lock
7 changes: 0 additions & 7 deletions Emakefile

This file was deleted.

29 changes: 0 additions & 29 deletions Makefile

This file was deleted.

9 changes: 0 additions & 9 deletions Makefile.local

This file was deleted.

12 changes: 9 additions & 3 deletions README.rst
Expand Up @@ -5,13 +5,19 @@ ErlIRC - An Internet Relay Chat framework for Erlang
ErlIRC is a framework for writing IRC clients, servers, proxies and
bots in Erlang.

Building ErlIRC
===============

* Download and install `Rebar3 <https://github.com/rebar/rebar3>`_.
* ``rebar3 build``

Example Use
===========

IRC Server
----------

Run ``erl -name erlirc -pa ebin`` and run the following commands in
Run ``erl -name erlirc -env ERL_LIBS _build/default/lib`` and run the following commands in
the erlang shell::

(erlirc@bete.ran)1> irc_app:start().
Expand All @@ -33,7 +39,7 @@ IRC commands::
IRC Client
----------

Run ``erl -name client -pa ebin`` and run the following commands in
Run ``erl -name client -env ERL_LIBS _build/default/lib`` and run the following commands in
the erlang shell::

(erlirc@bete.ran)1> {ok, C} = irc_client_fsm:start_link("erlirc","localhost", 16667).
Expand All @@ -51,4 +57,4 @@ the erlang shell::

Note that the erlirc server and client don't quite agree enough at the
moment to successfully join channels.
moment to successfully join channels.
27 changes: 0 additions & 27 deletions src/erlirc.app

This file was deleted.

7 changes: 7 additions & 0 deletions src/erlirc.app.src
@@ -0,0 +1,7 @@
{application, erlirc,
[{description, "Erlang IRC Library"},
{vsn, "0.1"},
{applications, [kernel, stdlib, sasl]},
{mod, {irc_app, []}},
{registered, [irc_sup]}
]}.

0 comments on commit a9941c7

Please sign in to comment.