Sha256: aa7d4972a10c08d2a49042cc80846fa5d72ee4038296e9a8019383e183dfe453

Contents?: true

Size: 504 Bytes

Versions: 2

Compression:

Stored size: 504 Bytes

Contents

require 'claide'

module Xcake
  class Command < CLAide::Command

    self.command = 'xcake'
    self.version = VERSION
    self.description = 'Create and maintain Xcode project files easily.'

    def run

      puts "Reading Cakefile..."
      file_contents = File.read("#{Dir.pwd}/Cakefile")
      cakefile = eval(file_contents)

      resolver = ProjectStructureResolver.new
      cakefile.accept(resolver)

      generator = Generator::Project.new
      cakefile.accept(generator)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xcake-0.3.1 lib/xcake/command.rb
xcake-0.3.0 lib/xcake/command.rb