initial import
[vuplus_webkit] / Tools / TestWebKitAPI / win / copy-resources.cmd
1 @echo off
2
3 set ResourcesDirectory=%CONFIGURATIONBUILDDIR%\bin\TestWebKitAPI.resources
4
5 if "%1" EQU "clean" goto :clean
6 if "%1" EQU "rebuild" call :clean
7
8 echo Copying resources...
9 mkdir 2>NUL "%ResourcesDirectory%"
10 for %%f in (
11     ..\Tests\WebKit2\18-characters.html
12     ..\Tests\WebKit2\file-with-anchor.html
13     ..\Tests\WebKit2\find.html
14     ..\Tests\WebKit2\icon.png
15     ..\Tests\WebKit2\mouse-move-listener.html
16     ..\Tests\WebKit2\simple.html
17     ..\Tests\WebKit2\simple-accelerated-compositing.html
18     ..\Tests\WebKit2\simple-form.html
19     ..\Tests\WebKit2\simple-iframe.html
20     ..\Tests\WebKit2\spacebar-scrolling.html
21 ) do (
22     xcopy /y /d %%f "%ResourcesDirectory%"
23 )
24
25 goto :EOF
26
27 :clean
28
29 echo Deleting resources...
30 del /s /q "%ResourcesDirectory%"