mirror of
https://github.com/atom/atom.git
synced 2026-01-22 05:17:57 -05:00
Use parent directory as resource path
This commit is contained in:
@@ -10,5 +10,6 @@ module.exports = (grunt) ->
|
||||
spawn cmd: 'pkill', args: ['Atom'], -> callback()
|
||||
commands.push (callback) ->
|
||||
atomBinary = path.join(grunt.config.get('atom.contentsDir'), 'MacOS', 'Atom')
|
||||
spawn cmd: atomBinary, args: ['--test', "--resource-path=#{__dirname}"], (error) -> callback(error)
|
||||
resourcePath = path.resolve(__dirname, '..')
|
||||
spawn cmd: atomBinary, args: ['--test', "--resource-path=#{resourcePath}"], (error) -> callback(error)
|
||||
grunt.util.async.waterfall commands, (error) -> done(error)
|
||||
|
||||
Reference in New Issue
Block a user