From 8e55df162c81a5e55de8bcc15541cc06f31c293b Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Wed, 14 Mar 2012 11:28:08 -0700 Subject: [PATCH] rake test exits with same exitstatus as the atom app --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 4523e00af..308893f05 100644 --- a/Rakefile +++ b/Rakefile @@ -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