15 use strict; |
15 use strict; |
16 use File::Copy; |
16 use File::Copy; |
17 use File::Path; |
17 use File::Path; |
18 |
18 |
19 unlink "landmarks_api.zip"; |
19 unlink "landmarks_api.zip"; |
20 ##rmtree "temp"; |
20 rmtree "temp"; |
21 mkpath "temp/landmarks/general/testframework"; |
21 mkpath "temp/landmarks/general/testframework"; |
22 mkpath "temp/landmarks/winscw_udeb"; |
22 mkpath "temp/landmarks/winscw_udeb"; |
23 |
23 |
24 my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
24 my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; |
25 copy("landmarks.xml", "temp/test.xml"); |
25 copy("landmarks.xml", "temp/test.xml"); |
26 |
26 |
27 copy($epoc . "release/winscw/udeb/testlandmarksapi.dll", "temp/landmarks/winscw_udeb/testlandmarksapi.dll"); |
27 copy($epoc . "release/winscw/udeb/testlandmarksapi.dll", "temp/landmarks/winscw_udeb/testlandmarksapi.dll") or die "failed : $!"; |
28 copy($epoc . "winscw/c/testframework/TestFramework_Landmarks.ini", "temp/landmarks/general/testframework/TestFramework_Landmarks.ini"); |
28 copy($epoc . "winscw/c/testframework/TestFramework_Landmarks.ini", "temp/landmarks/general/testframework/TestFramework_Landmarks.ini") or die "failed : $!"; |
29 copy($epoc . "winscw/c/testframework/testlandmarksapi.cfg", "temp/landmarks/general/testframework/testlandmarksapi.cfg"); |
29 copy($epoc . "winscw/c/testframework/testlandmarksapi.cfg", "temp/landmarks/general/testframework/testlandmarksapi.cfg") or die "failed : $!"; |
30 copy($epoc . "winscw/c/testing/data/smiltemplate.mif", "temp/landmarks/general/smiltemplate.mif"); |
30 copy($epoc . "winscw/c/testing/data/smiltemplate.mif", "temp/landmarks/general/smiltemplate.mif") or die "failed : $!"; |
31 copy($epoc . "winscw/c/testing/data/testEposLmImport.lmx", "temp/landmarks/general/testEposLmImport.lmx"); |
31 copy($epoc . "winscw/c/testing/data/testEposLmImport.lmx", "temp/landmarks/general/testEposLmImport.lmx") or die "failed : $!"; |
32 copy($epoc . "winscw/c/testing/data/testEposLmImportCollection.lmx", "temp/landmarks/general/testEposLmImportCollection.lmx"); |
32 copy($epoc . "winscw/c/testing/data/testEposLmImportCollection.lmx", "temp/landmarks/general/testEposLmImportCollection.lmx") or die "failed : $!"; |
33 |
33 |
34 system("7z a -tzip landmarks_api.zip ./temp/*"); |
34 system("7z a -tzip landmarks_api.zip ./temp/*"); |