1 | #!/bin/sh |
1 | #!/bin/sh |
2 | |
2 | |
3 | ############################################################################# |
3 | ############################################################################# |
4 | # copy and install modules |
4 | # copy and install modules |
5 | |
5 | |
6 | if true; then |
6 | if ! [ "$SKIP_INSTALL" ] ; then |
7 | cpan="Win32::Exe Pod::POM LWP" |
7 | cpan="Win32::Exe Pod::POM LWP" |
8 | cpan="" |
8 | cpan="" |
9 | mods="common-sense Guard JSON-XS AnyEvent EV BDB Coro Compress-LZF IO-AIO Urlader deliantra/Deliantra deliantra/Deliantra-Client" |
9 | mods="common-sense Guard JSON-XS AnyEvent EV BDB Coro Compress-LZF IO-AIO Urlader deliantra/Deliantra deliantra/Deliantra-Client" |
10 | #mods="deliantra/Deliantra-Client" |
10 | #mods="deliantra/Deliantra-Client" |
11 | |
11 | |
12 | cd /root/src || exit |
|
|
13 | for host in vm osx105; do |
12 | for host in vm osx105; do |
14 | ( |
13 | ( |
|
|
14 | cd /root/src |
15 | cvsfind $mods |
15 | cvsfind $mods |
16 | echo Urlader/liblzf/lzfP.h |
16 | echo Urlader/liblzf/lzfP.h |
17 | echo Urlader/liblzf/lzf_c_best.c |
17 | echo Urlader/liblzf/lzf_c_best.c |
18 | echo Urlader/liblzf/lzf_d.c |
18 | echo Urlader/liblzf/lzf_d.c |
19 | echo Urlader/bin/urlader-gen |
|
|
20 | ) | rsync --files-from=- -aessh /root/src $host:src/. || exit |
19 | ) | rsync --files-from=- -aessh /root/src $host:src/. || exit |
21 | done |
20 | done |
22 | |
21 | |
23 | osx105() { ssh osx105 "$1"; } |
22 | osx105() { ssh osx105 "$1"; } |
24 | linux32() { s32 bash -c "$1"; } |
23 | linux32() { s32 bash -c "$1"; } |
… | |
… | |
69 | |
68 | |
70 | mkdir -p dist |
69 | mkdir -p dist |
71 | util/build.linux |
70 | util/build.linux |
72 | util/build.osx |
71 | util/build.osx |
73 | util/build.windows |
72 | util/build.windows |
|
|
73 | |