Sha256: 7665c24a87f62ea242b85aa3f0be1273dcce7603144cc99dc81f8c531f82f404

Contents?: true

Size: 477 Bytes

Versions: 5

Compression:

Stored size: 477 Bytes

Contents

require 'claide'

module Xcake
  class Command < CLAide::Command

    self.command = 'xcake'
    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

5 entries across 5 versions & 1 rubygems

Version Path
xcake-0.1.9 lib/xcake/command.rb
xcake-0.1.8 lib/xcake/command.rb
xcake-0.1.7 lib/xcake/command.rb
xcake-0.1.6 lib/xcake/command.rb
xcake-0.1.5 lib/xcake/command.rb