Permalink
Browse files

release_apk task fails if build fails

  • Loading branch information...
1 parent 0ec0174 commit e61364baae174e3fa21fa7fab19e46738eba3d60 @leviwilson leviwilson committed May 6, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 Rakefile
View
@@ -23,7 +23,8 @@ end
desc 'Build the release api'
task :release_apk do
- `ant -f ./driver/build.xml release`
+ output = `ant -f ./driver/build.xml release`
+ raise "Error building release apk: #{output}" unless $?.success?
FileUtils.copy_file("./driver/bin/brazenhead-release-unsigned.apk", "./driver/brazenhead-release-unsigned.apk")
end

0 comments on commit e61364b

Please sign in to comment.