blob: 86ffc7f99998dd506f80c3f72fedb05e977740d5 (
plain) (
tree)
|
|
:: A script to build relx on Windows
:: Requires rebar
:: Get dependencies, compile and escriptize relx
@cmd /c @rebar -r get-deps compile escriptize
:: Create a shortcut file for running the relx command
@set relx_cmd=relx.cmd
@echo @echo off > %relx_cmd%
@echo setlocal >> %relx_cmd%
@echo set relx=%%~f0 >> %relx_cmd%
@echo escript ^"%%relx:.cmd=%%^" %%* >> %relx_cmd%
|