-
Notifications
You must be signed in to change notification settings - Fork 5
/
makedist.ps1
161 lines (160 loc) · 10.2 KB
/
makedist.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
Set-Location -Path "$PSScriptRoot"
$extName = Split-Path -Path "$PSScriptRoot" -Leaf
Remove-Item -Path dist -Recurse -Force
New-Item -Path "dist\$extName" -ItemType Directory -Force
Copy-Item -Path i18n, extension.json, *.php, LICENSE, README.md -Destination "dist\$extName" -Recurse
Set-Location -Path dist
Compress-Archive -Path "$extName" -DestinationPath "$extName.zip"
& tar -czf "$extName.tar.gz" "$extName"
# SIG # Begin signature block
# MIIcAQYJKoZIhvcNAQcCoIIb8jCCG+4CAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAJJLWqJtjXQGPs
# r85WnMTHHnEmFZilz7+LkmhpxgzFiKCCClowggUiMIIECqADAgECAhAF4JGtBD4t
# mhg6RGrMpUPRMA0GCSqGSIb3DQEBCwUAMHIxCzAJBgNVBAYTAlVTMRUwEwYDVQQK
# EwxEaWdpQ2VydCBJbmMxGTAXBgNVBAsTEHd3dy5kaWdpY2VydC5jb20xMTAvBgNV
# BAMTKERpZ2lDZXJ0IFNIQTIgQXNzdXJlZCBJR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