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

Commit

Permalink
Merge pull request #455 from adobe/ingo/cef-downloads-s3
Browse files Browse the repository at this point in the history
Download CEF builds from S3
  • Loading branch information
JeffryBooher committed Jun 17, 2014
2 parents 80522ca + 4450618 commit b713134
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 77 deletions.
19 changes: 14 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = function (grunt) {
resolve = common.resolve,
platform = common.platform(),
staging;

if (platform === "mac") {
staging = "installer/mac/staging/<%= build.name %>.app/Contents";
} else if (platform === "win") {
Expand All @@ -46,11 +46,11 @@ module.exports = function (grunt) {
/* linux */
"cef-linux32": {
"dest" : "<%= downloads %>",
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_linux32_release.zip"
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_linux32_release.zip"
},
"cef-linux64": {
"dest" : "<%= downloads %>",
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_linux64_release.zip"
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_linux64_release.zip"
},
"node-linux32": {
"dest" : "<%= downloads %>",
Expand All @@ -63,7 +63,11 @@ module.exports = function (grunt) {
/* mac */
"cef-mac": {
"dest" : "<%= downloads %>",
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_macosx.zip"
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_macosx.zip"
},
"cef-mac-symbols": {
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_macosx32_release_symbols.zip",
"dest" : "<%= downloads %>/cefsymbols"
},
"node-mac": {
"dest" : "<%= downloads %>",
Expand All @@ -72,7 +76,11 @@ module.exports = function (grunt) {
/* win */
"cef-win": {
"dest" : "<%= downloads %>",
"src" : "http://dev.brackets.io/cef/cef_binary_<%= cef.version %>_windows.zip"
"src" : "<%= cef.url %>/cef_binary_<%= cef.version %>_windows.zip"
},
"cef-win-symbols": {
"src" : ["<%= cef.url %>/cef_binary_<%= cef.version %>_windows32_debug_symbols.zip", "<%= cef.url %>/cef_binary_<%= cef.version %>_windows32_release_symbols.zip"],
"dest" : "<%= downloads %>/cefsymbols"
},
"node-win": {
"dest" : "<%= downloads %>",
Expand Down Expand Up @@ -201,6 +209,7 @@ module.exports = function (grunt) {
}
},
"cef": {
"url" : "http://s3.amazonaws.com/files.brackets.io/cef",
"version" : "3.1547.1459"
},
"node": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"grunt-contrib-copy": "0.4.0",
"grunt-contrib-clean": "0.4.0",
"guid": "0.0.10",
"grunt-curl": "0.5.0",
"grunt-curl": "2.0.2",
"grunt-shell": "0.2.1",
"q": "0.9.2",
"semver": "2.0.11"
Expand All @@ -28,4 +28,4 @@
"install": "",
"postinstall": "bash -c 'mv .appshell.gyp appshell.gyp;'"
}
}
}
Loading

0 comments on commit b713134

Please sign in to comment.