Set resource path as single argument

This commit is contained in:
Kevin Sawicki
2013-05-30 15:56:15 -07:00
parent d18ccc168f
commit 2dbbce31d6

View File

@@ -229,7 +229,7 @@ module.exports = (grunt) ->
commands.push (callback) ->
exec('pkill', ['Atom'], ignoreFailures: true, callback)
commands.push (result, callback) ->
exec(path.join(CONTENTS_DIR, 'MacOS', 'Atom'), ['--test', '--resource-path', __dirname], callback)
exec(path.join(CONTENTS_DIR, 'MacOS', 'Atom'), ['--test', "--resource-path=#{__dirname}"], callback)
grunt.util.async.waterfall commands, (error) -> done(!error?)
grunt.registerTask('compile', ['coffee', 'less', 'cson'])