Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 74 lines (63 sloc) 1.65 kb
225dd2d Arjan Scherpenisse Added Windows build and start scripts. Thanks Pierrick <pgourlain@gmail....
arjan 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 pushd .
8 cd .\deps\mochiweb\src
9 @echo on
10 @echo '------------------------------'
11 @echo 'make mochiweb'
12 @echo '------------------------------'
13 @echo off
14 set EBIN_DIR = "..\ebin"
15 if not exist "..\ebin" (
16 mkdir ..\ebin
17 )
18 for %%g in (*.erl) do cmd /c "%erlc%" -o ../ebin/ %%g
19 copy *.app ..\ebin
20 popd
21
22
23 pushd .
24 cd .\deps\webmachine
25 @echo on
26 @echo '------------------------------'
27 @echo 'make webmachine'
28 @echo '------------------------------'
29 @echo off
30 %erl% -noinput +B -eval "case make:all() of up_to_date -> halt(0); error -> halt(1) end."
31 copy src\*.app ebin
32 popd
33
34 pushd .
35 cd .\deps\erlang-oauth
36 @echo on
37 @echo '------------------------------'
38 @echo 'make erlang-oauth'
39 @echo '------------------------------'
40 @echo off
41 IF NOT EXIST ebin (
42 mkdir ebin
43 )
44 copy src\oauth.app ebin
45 %erl% -make
46
47 popd
48
ad83746 Marc Worrell Build.cmd patch, adds gen_smtp
mworrell authored
49 pushd .
50 cd .\deps\gen_smtp\src
51 @echo on
52 @echo '------------------------------'
53 @echo 'make gen_smtp'
54 @echo '------------------------------'
55 @echo off
56 set EBIN_DIR = "..\ebin"
57 if not exist "..\ebin" (
58 mkdir ..\ebin
59 )
60 for %%g in (*.erl) do cmd /c "%erlc%" -o ../ebin/ %%g
61 copy *.app ..\ebin
62 popd
63
225dd2d Arjan Scherpenisse Added Windows build and start scripts. Thanks Pierrick <pgourlain@gmail....
arjan authored
64 @echo on
65 @echo '------------------------------'
66 @echo 'make zotonic'
67 @echo '------------------------------'
68 %erlc% -o src/erlydtl src/erlydtl/erlydtl_parser.yrl
69
70 %erl% -pa ebin ./erlang-oauth/ebin ./mochiweb/ebin ./webmachine/ebin -noinput +B -eval "case make:all() of up_to_date -> halt(0);error -> halt(1) end."
71
72 copy src\zotonic.app ebin
73
Something went wrong with that request. Please try again.