lib/cdq.rb in cdq-0.1.6 vs lib/cdq.rb in cdq-0.1.7
- old
+ new
@@ -3,9 +3,11 @@
raise "This must be required from within a RubyMotion Rakefile"
end
require 'ruby-xcdm'
+ENV['COLUMNS'] ||= `tput cols`.strip
+
Motion::Project::App.setup do |app|
parent = File.join(File.dirname(__FILE__), '..')
app.files.unshift(Dir.glob(File.join(parent, "motion/cdq/**/*.rb")))
app.files.unshift(Dir.glob(File.join(parent, "motion/*.rb")))
app.frameworks += %w{ CoreData }