diff options
author | nuex <[email protected]> | 2014-02-21 15:16:46 -0500 |
---|---|---|
committer | nuex <[email protected]> | 2014-04-06 05:32:58 -0400 |
commit | 91481adf8d5209f2bf99118c8ff9fd78d1670671 (patch) | |
tree | 8012f0cfec8c3d71e2a9f290295190312b94ca8a /bootstrap.cmd | |
parent | 0d292ff4c1be173a775628c09d1ac9991fdd8e67 (diff) | |
download | relx-91481adf8d5209f2bf99118c8ff9fd78d1670671.tar.gz relx-91481adf8d5209f2bf99118c8ff9fd78d1670671.tar.bz2 relx-91481adf8d5209f2bf99118c8ff9fd78d1670671.zip |
Windows support
Diffstat (limited to 'bootstrap.cmd')
-rw-r--r-- | bootstrap.cmd | 12 |
1 files changed, 12 insertions, 0 deletions
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% |