Sha256: a64fa0d06bf7e52e139c8aae537aa1bee1139be660769670384e9a694cb859ad
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
# -*- encoding : utf-8 -*- require 'rake' unless defined? Rake module IB class RakeTask include Rake::DSL def initialize require 'ib/project' @project = IB::Project.new yield @project if block_given? define_tasks end def define_tasks namespace :ib do desc "Generates ib.xcodeproj" task :project do @project.write end desc "Generates ib.xcodeproj and opens it in XCode" task :open => :project do system "open ib.xcodeproj" end end desc "Same as 'ib:open'" task :ib => "ib:open" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ib-0.7.0 | lib/ib/tasks.rb |