Sha256: 92619a1a12ba520cc9da63203a800176d11a1eae200c774673399845169806fe

Contents?: true

Size: 889 Bytes

Versions: 4

Compression:

Stored size: 889 Bytes

Contents

module Xcode
  class Project
    autoload :PlistChanger, 'xcode/project/plist_changer'
    autoload :Version,      'xcode/project/version'
    autoload :BuildNumber,  'xcode/project/build_number'
    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_number
      BuildNumber.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

4 entries across 4 versions & 1 rubygems

Version Path
xcode-0.1.6 lib/xcode/project.rb
xcode-0.1.5 lib/xcode/project.rb
xcode-0.1.4 lib/xcode/project.rb
xcode-0.1.3 lib/xcode/project.rb