Skip to content

Commit fd3b7e1

Browse files
committed
Added to rmq command, fixed but with button styler
1 parent db671da commit fd3b7e1

2 files changed

Lines changed: 21 additions & 7 deletions

File tree

bin/rmq

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env ruby
22

3-
unless ARGV.length == 2
3+
unless ARGV.length > 0
44
puts 'RMQ - Invalid command, do something like this: rmq create my_new_app'
55
exit
66
end
@@ -12,6 +12,26 @@ value = ARGV[1]
1212
case action
1313
when 'create'
1414
`motion create --template=git@github.com:infinitered/rmq-template.git #{value}`
15+
16+
puts %{
17+
Complete. Things you should do:
18+
> cd #{value}
19+
> bundle
20+
> rake spec
21+
> rake
22+
(main)> exit
23+
24+
Then try these:
25+
> rake retina=3.5
26+
> rake retina=4
27+
> rake device_family=ipad
28+
> rake device }
29+
30+
when 'api'
31+
`open http://rdoc.info/github/infinitered/rmq`
32+
when 'docs'
33+
`open http://infinitered.com/rmq`
1534
else
1635
puts 'RMQ - Invalid action'
36+
1737
end

motion/ruby_motion_query/stylers/ui_button_styler.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ def color
1919
@view.titleColor
2020
end
2121

22-
def background_color=(value)
23-
@view.tintColor = value
24-
end
25-
def background_color
26-
@view.tintColor
27-
end
2822
def tint_color=(value)
2923
@view.tintColor = value
3024
end

0 commit comments

Comments
 (0)