소스 검색

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

master
SisMaker 4 년 전
부모
커밋
b0a6007faa
2개의 변경된 파일15개의 추가작업 그리고 12개의 파일을 삭제
  1. +12
    -9
      ebin/eNpc.app
  2. +3
    -3
      src/npRMain.erl

+ 12
- 9
ebin/eNpc.app 파일 보기

@ -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 파일 보기

@ -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) ->

불러오는 중...
취소
저장