rake test exits with same exitstatus as the atom app

This commit is contained in:
Corey Johnson 2012-03-14 11:28:08 -07:00
parent c6e530e82f
commit 8e55df162c

View File

@ -23,6 +23,7 @@ task :run => :build do
if File.exists?(app_path)
output = `#{applications.first}/Contents/MacOS/Atom #{$ATOM_ARGS.join(' ')} 2> /dev/null`
puts output
exit($?.exitstatus)
else
$stderr.puts "Executable `#{app_path}` not found."
end