3 set PublicHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\JavaScriptCore
4 set PrivateHeadersDirectory=%CONFIGURATIONBUILDDIR%\include\private\JavaScriptCore
5 set ResourcesDirectory=%CONFIGURATIONBUILDDIR%\bin32\JavaScriptCore.resources
7 if "%1" EQU "clean" goto :clean
8 if "%1" EQU "rebuild" call :clean
10 echo Copying public headers...
11 mkdir "%PublicHeadersDirectory%" 2>NUL
27 JSWeakObjectMapRefInternal.h
28 JSWeakObjectMapRefPrivate.h
34 xcopy /y /d ..\API\%%f "%PublicHeadersDirectory%" >NUL
37 echo Copying private headers...
38 mkdir "%PrivateHeadersDirectory%" 2>NUL
54 xcopy /y /d ..\%%d\*.h "%PrivateHeadersDirectory%" >NUL
57 echo Copying resources...
58 mkdir "%ResourcesDirectory%" 2>NUL
59 xcopy /y /d JavaScriptCore.resources\* "%ResourcesDirectory%" >NUL
65 echo Deleting copied files...
66 if exist "%PublicHeadersDirectory%" rmdir /s /q "%PublicHeadersDirectory%" >NUL
67 if exist "%PrivateHeadersDirectory%" rmdir /s /q "%PrivateHeadersDirectory%" >NUL
68 if exist "%ResourcesDirectory%" rmdir /s /q "%ResourcesDirectory%" >NUL