Browse Source

fx: 模块重命名-未修改完全

master
SisMaker 3 years ago
parent
commit
b0a6007faa
2 changed files with 15 additions and 12 deletions
  1. +12
    -9
      ebin/eNpc.app
  2. +3
    -3
      src/npRMain.erl

+ 12
- 9
ebin/eNpc.app View File

@ -1,9 +1,12 @@
{application,eNpc,
[{description,"eNpc: Erlang Native Compiler"},
{vsn,"0.1.0"},
{registered,[]},
{applications,[kernel,stdlib]},
{modules,[eNpc,rebar,rebarConfig,rebarNpCompiler,rebarUtils]},
{licenses,["Apache 2.0"]},
{links,[]},
{env,[{log_level,warn}]}]}.
{application, eNpc,
[
{description, "eNpc: Erlang Native Compiler"},
{vsn, "0.1.0"},
{registered, []},
{applications, [kernel, stdlib]},
{modules, [eNpc, npRMain, npRConfig, npRCompiler, npRUtils]},
{licenses, ["Apache 2.0"]},
{links, []},
{env, [{log_level, warn}]}
]
}.

+ 3
- 3
src/npRMain.erl View File

@ -162,15 +162,15 @@ runAux(BaseConfig, Commands) ->
%% Make sure we're an app directory
AppFile = "",
%% case rebarUtils:isAppDir() of
%% case npRUtils:isAppDir() of
%% {true, AppFile0} ->
%% AppFile0;
%% false ->
%% rebarUtils:delayedHalt(1)
%% npRUtils:delayedHalt(1)
%% end,
% Setup our environment
BaseConfig2 = setupEnvs(BaseConfig1, [rebarNpCompiler]),
BaseConfig2 = setupEnvs(BaseConfig1, [npRCompiler]),
%% Process each command, resetting any state between each one
lists:foreach(
fun(Command) ->

Loading…
Cancel
Save