4 ECHO Error: No platform parameter set.
9 ECHO Error: No configuration parameter set.
13 IF NOT EXIST .\%1\lib\%2 (
14 ECHO Error: No lib directory available for %1 %2. Any build availalbe for platform, configuration pair?
18 IF NOT EXIST .\%1\bin\%2 (
19 ECHO Error: No bin directory available for %1 %2. Any build availalbe for platform, configuration pair?
23 SET PACKAGE_DIR=.\package\%1\%2
25 ECHO Packaging mono build %1 %2 into '%PACKAGE_DIR%' ...
27 IF EXIST %PACKAGE_DIR% rmdir %PACKAGE_DIR% /s /q
29 mkdir %PACKAGE_DIR%\include\mono-2.0
30 xcopy .\include\*.* %PACKAGE_DIR%\include\mono-2.0\ /s /e /q /y > nul
32 xcopy .\%1\lib\%2\*.lib %PACKAGE_DIR%\lib\ /s /e /q /y > nul
33 xcopy .\%1\lib\%2\*.pdb %PACKAGE_DIR%\lib\ /s /e /q /y > nul
35 xcopy .\%1\bin\%2\*.exe %PACKAGE_DIR%\bin\ /s /e /q /y > nul
36 xcopy .\%1\bin\%2\*.dll %PACKAGE_DIR%\bin\ /s /e /q /y > nul
37 xcopy .\%1\bin\%2\*.pdb %PACKAGE_DIR%\bin\ /s /e /q /y > nul
38 xcopy .\%1\bin\%2\*.lib %PACKAGE_DIR%\bin\ /s /e /q /y > nul
40 ECHO Packaging of mono build %1 %2 into '%PACKAGE_DIR%' DONE.
45 ECHO "package.bat [win32|x64] [Debug|Release]"