Sha256: 13cf024478bfa33e490247a4724657c3170e63eeceb593eb75c035c497b8e2e1

Contents?: true

Size: 869 Bytes

Versions: 2

Compression:

Stored size: 869 Bytes

Contents

module Xcode
  class Project
    autoload :PlistChanger, 'xcode/project/plist_changer'
    autoload :Version,      'xcode/project/version'
    autoload :Build,        'xcode/project/build'
    autoload :Config,       'xcode/project/config'
    autoload :Packer,       'xcode/project/packer'
    autoload :Tagger,       'xcode/project/tagger'

    attr_reader :path
    def initialize(path)
      @path = Pathname(path)
    end

    def name
      path.basename(path.extname).to_s
    end

    def variables
      @variables ||= {}
    end

    attr_writer :configuration
    def configuration
      @configuration ||= 'Release'
    end

    def version
      Version.new
    end

    def build
      Build.new
    end

    def config
      Config.new(path)
    end

    def packer
      Packer.new(self)
    end

    def tagger
      Tagger.new(self)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xcode-0.1.2 lib/xcode/project.rb
xcode-0.1.1 lib/xcode/project.rb