Skip to content

Commit

Permalink
Switch to grunt-download-electron.
Browse files Browse the repository at this point in the history
Part of the atom-shell -> electron transition.
  • Loading branch information
Simon Howe committed Apr 29, 2015
1 parent 953714a commit 9a597fc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -24,6 +24,6 @@ pom.xml

*.diff

/atom-shell
/electron

/scripts/add-lein-profile
12 changes: 6 additions & 6 deletions Gruntfile.js
Expand Up @@ -65,9 +65,9 @@ grunt.initConfig({
'app/bin/lein.jar': leinJarUrl
},

'download-atom-shell': {
'download-electron': {
version: '0.20.5',
outputDir: 'atom-shell'
outputDir: 'electron'
}

});
Expand All @@ -79,7 +79,7 @@ grunt.initConfig({
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-curl');
grunt.loadNpmTasks('grunt-download-atom-shell');
grunt.loadNpmTasks('grunt-download-electron');
if (os === "mac") {
grunt.loadNpmTasks('grunt-appdmg');
}
Expand All @@ -91,7 +91,7 @@ grunt.loadNpmTasks('winresourcer');

grunt.registerTask('setup', [
'curl',
'download-atom-shell',
'download-electron',
'ensure-config-exists',
'build-lein-profile-tool'
]);
Expand Down Expand Up @@ -150,7 +150,7 @@ grunt.registerTask('launch', function() {
mac: "Atom.app/Contents/MacOS/Atom",
linux: "atom"
}[os];
exec(path.join("atom-shell", exe) + " app");
exec(path.join("electron", exe) + " app");
});

//------------------------------------------------------------------------------
Expand Down Expand Up @@ -224,7 +224,7 @@ function getBuildMeta() {

function getReleasePaths(build) {
var paths = {
atom: "atom-shell",
atom: "electron",
builds: "builds",
devApp: "app",
rootPkg: "package.json"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -16,7 +16,7 @@
"grunt-contrib-less": "0.11.4",
"grunt-contrib-watch": "0.6.1",
"grunt-curl": "2.0.3",
"grunt-download-atom-shell": "0.10.0",
"grunt-download-electron": "2.1.0",
"winresourcer": "0.9.0",
"moment": "2.9.0",
"shelljs": "0.3.0"
Expand Down

0 comments on commit 9a597fc

Please sign in to comment.