Initial check-in
This commit is contained in:
commit
7d035bab9d
4 changed files with 6550 additions and 0 deletions
8
Makefile
Normal file
8
Makefile
Normal file
|
@ -0,0 +1,8 @@
|
|||
PROJECT = stomp.erl
|
||||
PROJECT_DESCRIPTION = New project
|
||||
PROJECT_VERSION = 0.0.1
|
||||
|
||||
# Whitespace to be used when creating files from templates.
|
||||
SP = 4
|
||||
|
||||
include erlang.mk
|
11
src/stomp.erl_app.erl
Normal file
11
src/stomp.erl_app.erl
Normal file
|
@ -0,0 +1,11 @@
|
|||
-module(stomp.erl_app).
|
||||
-behaviour(application).
|
||||
|
||||
-export([start/2]).
|
||||
-export([stop/1]).
|
||||
|
||||
start(_Type, _Args) ->
|
||||
stomp.erl_sup:start_link().
|
||||
|
||||
stop(_State) ->
|
||||
ok.
|
12
src/stomp.erl_sup.erl
Normal file
12
src/stomp.erl_sup.erl
Normal file
|
@ -0,0 +1,12 @@
|
|||
-module(stomp.erl_sup).
|
||||
-behaviour(supervisor).
|
||||
|
||||
-export([start_link/0]).
|
||||
-export([init/1]).
|
||||
|
||||
start_link() ->
|
||||
supervisor:start_link({local, ?MODULE}, ?MODULE, []).
|
||||
|
||||
init([]) ->
|
||||
Procs = [],
|
||||
{ok, {{one_for_one, 1, 5}, Procs}}.
|
Loading…
Reference in a new issue