Fix statically included 'example_server' atom
This commit is contained in:
parent
4af35fbb39
commit
c5dcbde50b
@ -1485,7 +1485,8 @@ create_project(P = #project{id = {_, Name, Version}}) ->
|
||||
|
||||
|
||||
munge_sources(#project{type = lib,
|
||||
name = Name,
|
||||
id = {_, Name, _},
|
||||
name = ProjectName,
|
||||
license = Title,
|
||||
module = Module,
|
||||
author = Credit,
|
||||
@ -1497,7 +1498,8 @@ munge_sources(#project{type = lib,
|
||||
ok = file:make_dir("ebin"),
|
||||
{ok, ProjectDir} = file:get_cwd(),
|
||||
Substitutions =
|
||||
[{"〘\*PROJECT NAME\*〙", Name},
|
||||
[{"〘\*PROJECT NAME\*〙", ProjectName},
|
||||
{"〘\*NAME\*〙", Name},
|
||||
{"〘\*MODULE\*〙", Module},
|
||||
{"〘\*VERSION\*〙", VersionString},
|
||||
{"〘\*AUTHOR\*〙", author(Credit, AEmail)},
|
||||
@ -1512,7 +1514,8 @@ munge_sources(#project{type = lib,
|
||||
ok = file:write_file(ModFile, CookedMod),
|
||||
file:set_cwd(ProjectDir);
|
||||
munge_sources(#project{type = cli,
|
||||
name = Name,
|
||||
id = {_, Name, _},
|
||||
name = ProjectName,
|
||||
license = Title,
|
||||
module = Module,
|
||||
author = Credit,
|
||||
@ -1524,7 +1527,8 @@ munge_sources(#project{type = cli,
|
||||
ok = file:make_dir("ebin"),
|
||||
{ok, ProjectDir} = file:get_cwd(),
|
||||
Substitutions =
|
||||
[{"〘\*PROJECT NAME\*〙", Name},
|
||||
[{"〘\*PROJECT NAME\*〙", ProjectName},
|
||||
{"〘\*NAME\*〙", Name},
|
||||
{"〘\*MODULE\*〙", Module},
|
||||
{"〘\*VERSION\*〙", VersionString},
|
||||
{"〘\*AUTHOR\*〙", author(Credit, AEmail)},
|
||||
@ -1539,7 +1543,8 @@ munge_sources(#project{type = cli,
|
||||
ok = file:write_file(ModFile, CookedMod),
|
||||
file:set_cwd(ProjectDir);
|
||||
munge_sources(#project{type = Type,
|
||||
name = Name,
|
||||
id = {_, Name, _},
|
||||
name = ProjectName,
|
||||
license = License,
|
||||
prefix = Prefix,
|
||||
appmod = AppMod,
|
||||
@ -1552,7 +1557,8 @@ munge_sources(#project{type = Type,
|
||||
ok = file:make_dir("ebin"),
|
||||
{ok, ProjectDir} = file:get_cwd(),
|
||||
Substitutions =
|
||||
[{"〘\*PROJECT NAME\*〙", Name},
|
||||
[{"〘\*PROJECT NAME\*〙", ProjectName},
|
||||
{"〘\*NAME\*〙", Name},
|
||||
{"〘\*VERSION\*〙", VersionString},
|
||||
{"〘\*PREFIX\*〙", Prefix},
|
||||
{"〘\*APP MOD\*〙", AppMod},
|
||||
|
||||
@ -41,8 +41,8 @@ ignore() ->
|
||||
|
||||
start() ->
|
||||
ok = application:ensure_started(sasl),
|
||||
ok = application:start(example_server),
|
||||
io:format("Starting es...").
|
||||
ok = application:start(〘*NAME*〙),
|
||||
io:format("Starting...").
|
||||
|
||||
|
||||
-spec start(PortNum) -> ok
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user