Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (22 sloc) 0.909 kb
18e396a @kaos Windows: updated build scripts.
kaos authored
1 @echo off
2 set erl=erl
3 set erlc=erlc
4 rem set erl="C:\Program Files\erl5.7.4\bin\erl.exe"
5 rem set erlc="C:\Program Files\erl5.7.4\bin\erlc.exe"
6
7 @echo ==============================
8 @echo make deps
9 @echo ==============================
10
11 for /D %%i in (.\deps\*) do cmd /c .\deps\build-dep.cmd %%~ni %%i
12
13 cmd /c .\deps\build-dep.cmd erlang-oauth .\modules\mod_oauth\deps\erlang-oauth
14
15
16 @echo ==============================
17 @echo make zotonic
18 @echo ------------------------------
19
20 setlocal enabledelayedexpansion
21 set DEPS=.\ebin .\modules\mod_oauth\deps\erlang-oauth\ebin
22 for /D %%i in (.\deps\*) do if exist %%i\ebin set DEPS=!DEPS! %%i
23
24 %erlc% -o src/erlydtl src/erlydtl/erlydtl_parser.yrl
25 %erl% -pa %DEPS% -noinput +B -eval "case make:all() of up_to_date -> halt(0);error -> halt(1) end."
26
27 copy src\zotonic.app ebin
28
29 @echo ------------------------------
30 @echo build done
31 @echo ==============================
Something went wrong with that request. Please try again.