Rakefile runs tests correctly

This commit is contained in:
Corey Johnson 2012-03-30 10:17:37 -07:00
parent dc7edc22cf
commit 8352c5cda3

View File

@ -29,7 +29,9 @@ end
desc "Run Atom"
task :run => :build do
if path = binary_path()
exitstatus = system "#{path}/Contents/MacOS/Atom #{$ATOM_ARGS.join(' ')} 2> /dev/null"
puts "#{path} #{$ATOM_ARGS.join(' ')} 2> /dev/null"
exitstatus = system "#{path} #{$ATOM_ARGS.join(' ')} 2> /dev/null"
puts exitstatus
exit(exitstatus)
else
exit(1)