bin/Hokkaido in Hokkaido-0.0.6 vs bin/Hokkaido in Hokkaido-0.0.9
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
require 'commander/import'
require 'Hokkaido'
-puts "Hokkaido v#{Hokkaido::VERSION} codename Northern Sea Circuit".colorize(:yellow)
+puts "Hokkaido v#{Hokkaido::VERSION} codename Northern Sea Circuit" #.colorize(:yellow)
program :name, "Hokkaido"
program :version, '0.0.1'
program :description, 'Gem port tool for RubyMotion'
@@ -11,15 +11,15 @@
c.syntax = "Usage: Hokkaido port <gem_name> <init_filename> <lib_dir>"
c.description = 'Attempts to port the gem. This will modify the files!'
c.option '--sim', TrueClass, 'Does not edit the gem files. Good for hacking Hokkaido'
c.action do |args, options|
if Hokkaido.valid_input?(args)
- puts "Init Lib:".colorize(:blue)+" #{args[1]}"
- puts "Gem name:".colorize(:blue)+" #{args[0]}"
- say "Lib folder:".colorize(:blue)+" #{args[2]}"
+ puts "Init Lib: #{args[1]}"
+ puts "Gem name: #{args[0]}"
+ say "Lib folder: #{args[2]}"
port = Hokkaido::Port.new(args, options)
port.modify
- say "Gem modification complete. It will now be tested.".colorize(:yellow)
+ say "Gem modification complete. It will now be tested." #.colorize(:yellow)
say Hokkaido.self_test_result(port)
else
say "I can't process that."
end
end