summaryrefslogtreecommitdiff
path: root/win32.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win32.bat')
-rw-r--r--win32.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/win32.bat b/win32.bat
new file mode 100644
index 00000000..744c31b3
--- /dev/null
+++ b/win32.bat
@@ -0,0 +1,33 @@
+@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.in
+cd ..\..\
+
+cd .\lib\backupclient & perl ./../../lib/common/makeexception.pl.in BackupStoreException.txt & perl ./../../lib/server/makeprotocol.pl.in Client ./../../bin/bbstored/backupprotocol.txt
+cd ..\..\
+
+cd .\lib\compress & perl ./../../lib/common/makeexception.pl.in CompressException.txt
+cd ..\..\
+
+cd .\lib\common & perl ./../../lib/common/makeexception.pl.in CommonException.txt & perl ./../../lib/common/makeexception.pl.in ConversionException.txt
+
+cd ..\..\
+
+cd .\bin\bbackupd & perl ./../../lib/common/makeexception.pl.in ClientException.txt
+
+cd ..\..\
+
+cd .\lib\crypto & perl ./../../lib/common/makeexception.pl.in CipherException.txt
+cd ..\..\
+
+echo server parts - which appears as though some of the clients rely on
+
+cd .\lib\server & perl ./../../lib/common/makeexception.pl.in ServerException.txt & perl ./../../lib/common/makeexception.pl.in ConnectionException.txt
+cd ..\..\
+
+perl -pe 's/@PERL@/perl/' ./test/bbackupd/testfiles/bbackupd.conf.in > .\test\bbackupd\testfiles\bbackupd.conf