From 91481adf8d5209f2bf99118c8ff9fd78d1670671 Mon Sep 17 00:00:00 2001 From: nuex Date: Fri, 21 Feb 2014 15:16:46 -0500 Subject: Windows support --- bootstrap.cmd | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 bootstrap.cmd (limited to 'bootstrap.cmd') diff --git a/bootstrap.cmd b/bootstrap.cmd new file mode 100644 index 0000000..86ffc7f --- /dev/null +++ b/bootstrap.cmd @@ -0,0 +1,12 @@ +:: 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% -- cgit v1.2.3