aboutsummaryrefslogblamecommitdiffstats
path: root/bootstrap.cmd
blob: 1bbd00dec6c1a97a37778e8fef8b2de298169aa0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                    
                  

                                                
                      
                                     


                                                      



                                                 
:: A script to build relx on Windows
:: Requires rebar3

:: Get dependencies, compile and escriptize relx
@cmd /c @rebar3 update
@cmd /c @rebar3 as escript 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%