Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (24 sloc) 0.496 kb
@echo off
set escript="escript.exe"
@echo ------------------------------
@echo make %1
@echo ------------------------------
pushd .
cd %2
set EBIN_DIR=.\ebin
if not exist %EBIN_DIR% (
mkdir %EBIN_DIR%
)
if exist .\rebar (
%escript% .\rebar get-deps
%escript% .\rebar compile
) else if exist .\Emakefile (
%erl% -make
) else (
for %%g in (.\src\*.erl) do cmd /c "%erlc%" -o %EBIN_DIR% %%g
)
if exist .\src\*.app (
copy .\src\*.app %EBIN_DIR%
)
popd
@echo Leaving Directory: %2
Jump to Line
Something went wrong with that request. Please try again.