Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 106 lines (72 sloc) 2.512 kb
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
1 # Script to gather files for PHP version
2
3 # Create output folder
4 $path = $(get-location).ToString() + "\output";
5 $dir = new-object "System.IO.DirectoryInfo" -argumentlist $path;
6 if (!$dir.Exists) { $dir.Create(); }
7
8 $path = $(get-location).ToString() + "\output\php";
9 $dir = new-object "System.IO.DirectoryInfo" -argumentlist $path;
10 if ($dir.Exists) {
6e173a8 @a-fung Update
authored
11 Remove-Item $path\* -recurse;
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
12 Start-Sleep -s 1;
13 }
6e173a8 @a-fung Update
authored
14 else {
15 $dir.Create();
16 }
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
17
18
19 # copy files
20 copy LICENSE $path
6e173a8 @a-fung Update
authored
21 copy NOTICE $path
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
22
23
28500c9 @a-fung Some image processing implementation...
authored
24 # create folders
25 mkdir $path\cover
26 mkdir $path\mangacache
27 mkdir $path\temp
28
29
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
30 # HTML files
31 copy source\aspnetserver\*.html $path
efb2071 @a-fung Icon and iOS add to home screen.
authored
32 copy source\aspnetserver\favicon.ico $path
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
33
34
35 # CSS files
36 mkdir $path\css
37 copy source\aspnetserver\css\*.css $path\css
38
39
40 # js files
41 mkdir $path\js
42 copy source\aspnetserver\js\afung.MangaWeb3.Client.Admin.js $path\js
43 copy source\aspnetserver\js\afung.MangaWeb3.Client.Install.js $path\js
44 copy source\aspnetserver\js\afung.MangaWeb3.Client.js $path\js
45 copy source\aspnetserver\js\afung.MangaWeb3.Common.js $path\js
46 copy source\aspnetserver\js\mscorlib.js $path\js
47
48 copy source\aspnetserver\js\bootstrap.min.js $path\js
5dbe942 @a-fung Update external libraries
authored
49 copy source\aspnetserver\js\jquery-1.9.0.min.js $path\js
3732775 @a-fung Basic touch for read module
authored
50 copy source\aspnetserver\js\jquery.touch.js $path\js
2d1f1dd @a-fung More infrastructure code
authored
51 copy source\aspnetserver\js\json2.js $path\js
9722e4b @a-fung add add to home script from cubiq.org
authored
52 copy source\aspnetserver\js\add2home.js $path\js
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
53
54 copy source\php\js\servertype.js $path\js
55
56
57 # debug js files
b876bae @a-fung Change to use minified script
authored
58 if ($false) {
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
59 copy source\aspnetserver\js\afung.MangaWeb3.Client.Admin.debug.js $path\js
60 copy source\aspnetserver\js\afung.MangaWeb3.Client.Install.debug.js $path\js
61 copy source\aspnetserver\js\afung.MangaWeb3.Client.debug.js $path\js
62 copy source\aspnetserver\js\afung.MangaWeb3.Common.debug.js $path\js
63 copy source\aspnetserver\js\mscorlib.debug.js $path\js
64 }
65
66
67 # img files
68 mkdir $path\img
69 copy source\aspnetserver\img\*.* $path\img
70
71
6e173a8 @a-fung Update
authored
72 # lang files
73 mkdir $path\lang
74 copy source\aspnetserver\lang\*.* $path\lang
75
76
77 # template files
78 mkdir $path\template
79 copy source\aspnetserver\template\*.* $path\template
80
81
3139fa2 @a-fung add install.sql
authored
82 # files needed during install
59f18a9 @a-fung More install page implementation (unfinished)
authored
83 copy source\aspnetserver\empty.pdf $path
3139fa2 @a-fung add install.sql
authored
84 copy source\aspnetserver\install.sql $path
59f18a9 @a-fung More install page implementation (unfinished)
authored
85
86
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
87 # php files
5e7a8be @a-fung More admin mangas page implementiation...
authored
88 Copy-Item source\php\* $path -recurse -force;
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
89
90
91 # compiled php files
92 del source\haxephp\index.php
5e7a8be @a-fung More admin mangas page implementiation...
authored
93 Copy-Item source\haxephp\* $path -recurse -force;
f5d5afc @a-fung Add ps1 scripts to gather each type (ASP.NET vs PHP) of MangaWeb3
authored
94
95
768b0d2 @a-fung Fix dropdown on iPad & integrate CKFinder for browsing folder/files
authored
96 # ckfinder
97 if ($true) {
98 mkdir $path\ckfinder
99 Copy-Item external_libraries\ckfinder_php\* $path\ckfinder -recurse -force;
100
101 copy source\ckfinder\config.js $path\ckfinder -force
102 copy source\ckfinder\config.php $path\ckfinder -force
103 }
104
105
Something went wrong with that request. Please try again.