Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Commit b713134

Browse files
committed
Merge pull request #455 from adobe/ingo/cef-downloads-s3
Download CEF builds from S3
2 parents 80522ca + 4450618 commit b713134

File tree

3 files changed

+214
-77
lines changed

3 files changed

+214
-77
lines changed

Gruntfile.js

+14-5
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module.exports = function (grunt) {
2929
resolve = common.resolve,
3030
platform = common.platform(),
3131
staging;
32-
32+
3333
if (platform === "mac") {
3434
staging = "installer/mac/staging/<%= build.name %>.app/Contents";
3535
} else if (platform === "win") {
@@ -46,11 +46,11 @@ module.exports = function (grunt) {
4646
/* linux */
4747
"cef-linux32": {
4848
"dest" : "<%= downloads %>",
49-
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_linux32_release.zip"
49+
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_linux32_release.zip"
5050
},
5151
"cef-linux64": {
5252
"dest" : "<%= downloads %>",
53-
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_linux64_release.zip"
53+
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_linux64_release.zip"
5454
},
5555
"node-linux32": {
5656
"dest" : "<%= downloads %>",
@@ -63,7 +63,11 @@ module.exports = function (grunt) {
6363
/* mac */
6464
"cef-mac": {
6565
"dest" : "<%= downloads %>",
66-
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_macosx.zip"
66+
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_macosx.zip"
67+
},
68+
"cef-mac-symbols": {
69+
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_macosx32_release_symbols.zip",
70+
"dest" : "<%= downloads %>/cefsymbols"
6771
},
6872
"node-mac": {
6973
"dest" : "<%= downloads %>",
@@ -72,7 +76,11 @@ module.exports = function (grunt) {
7276
/* win */
7377
"cef-win": {
7478
"dest" : "<%= downloads %>",
75-
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_windows.zip"
79+
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_windows.zip"
80+
},
81+
"cef-win-symbols": {
82+
"src" : ["<%= cef.url %>/cef_binary_<%= cef.version %>_windows32_debug_symbols.zip", "<%= cef.url %>/cef_binary_<%= cef.version %>_windows32_release_symbols.zip"],
83+
"dest" : "<%= downloads %>/cefsymbols"
7684
},
7785
"node-win": {
7886
"dest" : "<%= downloads %>",
@@ -201,6 +209,7 @@ module.exports = function (grunt) {
201209
}
202210
},
203211
"cef": {
212+
"url" : "http://s3.amazonaws.com/files.brackets.io/cef",
204213
"version" : "3.1547.1459"
205214
},
206215
"node": {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"grunt-contrib-copy": "0.4.0",
1919
"grunt-contrib-clean": "0.4.0",
2020
"guid": "0.0.10",
21-
"grunt-curl": "0.5.0",
21+
"grunt-curl": "2.0.2",
2222
"grunt-shell": "0.2.1",
2323
"q": "0.9.2",
2424
"semver": "2.0.11"
@@ -28,4 +28,4 @@
2828
"install": "",
2929
"postinstall": "bash -c 'mv .appshell.gyp appshell.gyp;'"
3030
}
31-
}
31+
}

0 commit comments

Comments
 (0)