Skip to content
Browse files

* Issue #129 Make ruboto gen app fail with more information

* Added check for the "android" command before launching the "ruboto" command.
  • Loading branch information...
1 parent 37d6ba4 commit 681c12076bd5d7c90e0aa73044e8036c630bb644 @donv donv committed
Showing with 7 additions and 0 deletions.
  1. +7 −0 bin/ruboto
View
7 bin/ruboto
@@ -1,4 +1,11 @@
#!/usr/bin/env ruby
+
+`android list`
+if $? != 0
+ puts "Android SDK not in path"
+ exit 1
+end
+
require 'ruboto/commands/base'
# Run Base, which will handle actual commands

0 comments on commit 681c120

Please sign in to comment.
Something went wrong with that request. Please try again.