rake test uses source as its resource dir

This commit is contained in:
Corey Johnson 2013-02-14 14:08:17 -08:00 committed by Corey Johnson & Kevin Sawicki
parent c5a049dd0f
commit eb7ed3df33

View File

@ -97,7 +97,7 @@ task :test => ["clone-default-bundles", "build"] do
`pkill Atom`
if path = application_path()
`rm -rf path`
cmd = "#{path}/Contents/MacOS/Atom --test 2> /dev/null"
cmd = "#{path}/Contents/MacOS/Atom --test --resource-path=#{ATOM_SRC_PATH} 2> /dev/null"
system(cmd)
exit($?.exitstatus)
else