droiuby 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/drby +5 -3
- metadata +1 -1
data/bin/drby
CHANGED
@@ -37,12 +37,14 @@ case command
|
|
37
37
|
else
|
38
38
|
puts "zips and uploads app to device"
|
39
39
|
puts "usage: "
|
40
|
-
puts "drby gopack [device IP]"
|
40
|
+
puts "drby gopack [device IP] "
|
41
41
|
puts "drby gopack [folder] [device IP]"
|
42
42
|
exit(1)
|
43
43
|
end
|
44
|
+
|
45
|
+
|
44
46
|
project = Project.new
|
45
|
-
project.execute(project_name, device_ip, '')
|
47
|
+
project.execute(project_name, device_ip, ENV['DROIUBY_HOST'])
|
46
48
|
when 'live'
|
47
49
|
project_name = nil
|
48
50
|
if ARGV.size == 3
|
@@ -58,7 +60,7 @@ case command
|
|
58
60
|
exit(1)
|
59
61
|
end
|
60
62
|
project = Project.new
|
61
|
-
project.live(project_name, device_ip,
|
63
|
+
project.live(project_name, device_ip, ENV['DROIUBY_HOST'], '')
|
62
64
|
else
|
63
65
|
puts "invalid command"
|
64
66
|
puts "Should be:"
|