Skip to content

Commit

Permalink
Use downloaded atom-shell's headers for building native modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Sep 11, 2014
1 parent ed04c59 commit cb9b94e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/download-atom-shell-task.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ module.exports = (grunt) ->
if currentVersion isnt previousVersion and needToRebuild
grunt.verbose.writeln "Rebuilding native modules for new atom-shell version #{currentVersion}."
apm ?= getApmPath()
spawn {cmd: apm, args: ['rebuild']}, callback
env = ATOM_NODE_VERSION: currentVersion.substr(1)
spawn {cmd: apm, args: ['rebuild'], env}, callback
else
callback()

Expand Down

0 comments on commit cb9b94e

Please sign in to comment.