Sha256: ef388b85e75718af17c6d5a86ee975b924a2ba54d532dadee7fd288d5dd599b0

Contents?: true

Size: 689 Bytes

Versions: 2

Compression:

Stored size: 689 Bytes

Contents

require 'fspath'

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'

    attr_reader :path
    def initialize(path)
      @path = FSPath(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
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xcode-0.1.0 lib/xcode/project.rb
xcode-0.0.1 lib/xcode/project.rb