summaryrefslogtreecommitdiff
path: root/win32.bat
blob: e4a39359c52ff77f153cdb5dfd82d62338d60353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@echo off

echo quick and dirty to get up and running by generating the required files 
echo using Cygwin and Perl

copy .\infrastructure\BoxPlatform.pm.in .\infrastructure\BoxPlatform.pm

cd .\bin\bbackupquery\ & perl ./../../bin/bbackupquery/makedocumentation.pl
cd ..\..\

cd .\lib\backupclient & perl ./../../lib/common/makeexception.pl BackupStoreException.txt
perl ./../../lib/server/makeprotocol.pl Client ./../../bin/bbstored/backupprotocol.txt
cd ..\..\

cd .\lib\compress & perl ./../../lib/common/makeexception.pl CompressException.txt
cd ..\..\

cd .\lib\common & perl ./../../lib/common/makeexception.pl CommonException.txt & perl ./../../lib/common/makeexception.pl ConversionException.txt

cd ..\..\

cd .\lib\crypto & perl ./../../lib/common/makeexception.pl CipherException.txt
cd ..\..\

echo server parts - which appears as though some of the clients rely on

cd .\lib\server & perl ./../../lib/common/makeexception.pl ServerException.txt & perl ./../../lib/common/makeexception.pl ConnectionException.txt
cd ..\..\

perl -i.orig -pe 's/@PERL@/perl/' ./test/bbackupd/testfiles/bbackupd.conf