Browse Source

ft: 编译的eNpc改成使用环境变量里面的

master
SisMaker 7 months ago
parent
commit
6553128963
3 changed files with 2 additions and 6 deletions
  1. BIN
      c_src/eNpc
  2. +0
    -4
      c_src/eNpc.cmd
  3. +2
    -2
      rebar.config

BIN
c_src/eNpc View File


+ 0
- 4
c_src/eNpc.cmd View File

@ -1,4 +0,0 @@
@echo off
setlocal
set rebarscript=%~f0
escript.exe "%rebarscript:.cmd=%" %*

+ 2
- 2
rebar.config View File

@ -2,7 +2,7 @@
{deps, []}.
%{pre_hooks,
% [{"", compile, "escript c_src/eNpc compile"}]}.
% [{"", compile, "eNpc compile"}]}.
%
%{post_hooks,
% [{"", clean, "escript c_src/eNpc clean"}]}.
% [{"", clean, "eNpc clean"}]}.

Loading…
Cancel
Save