This commit is contained in:
Craig Everett 2018-03-22 19:10:02 +09:00
parent 08972f0160
commit 66b65d3fd4
5 changed files with 10 additions and 3 deletions

1
.gitignore vendored
View File

@ -3,6 +3,7 @@ deps
*.o
*.beam
*.plt
*.swp
erl_crash.dump
ebin/*.beam
rel/example_project

View File

@ -2,5 +2,11 @@
[{description, "Zomp client program"},
{vsn, "0.1.0"},
{applications, [stdlib, kernel]},
{modules, [zx, zxd_sup, zxd]},
{modules, [zx,
zx_sup,
zx_daemon,
zx_conn_sup,
zx_conn,
zx_lib,
zx_net]},
{mod, {zx, []}}]}.

View File

@ -42,7 +42,7 @@ start_conn(Host, Serial) ->
| {shutdown, term()}
| term().
%% @private
%% Called by zx_daemon_sup.
%% Called by zx_sup.
%%
%% Spawns a single, registered supervisor process.
%%

View File

@ -4,7 +4,7 @@
%%% This supervisor maintains the lifecycle of the zxd worker process.
%%% @end
-module(zx_daemon_sup).
-module(zx_sup).
-behavior(supervisor).
-author("Craig Everett <zxq9@zxq9.com>").
-copyright("Craig Everett <zxq9@zxq9.com>").