lib/xcode/project.rb in xcode-0.1.0 vs lib/xcode/project.rb in xcode-0.1.1
- old
+ new
@@ -1,17 +1,17 @@
-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'
+ autoload :Packer, 'xcode/project/packer'
+ autoload :Tagger, 'xcode/project/tagger'
attr_reader :path
def initialize(path)
- @path = FSPath(path)
+ @path = Pathname(path)
end
def name
path.basename(path.extname).to_s
end
@@ -33,8 +33,16 @@
Build.new
end
def config
Config.new(path)
+ end
+
+ def packer
+ Packer.new(self)
+ end
+
+ def tagger
+ Tagger.new(self)
end
end
end