Module: Zimt
- Defined in:
- lib/zimt.rb,
lib/zimt/cli.rb,
lib/zimt/pbxproj.rb,
lib/zimt/version.rb,
lib/zimt/sprinkle.rb
Defined Under Namespace
Classes: CLI, PBXHash, PBXProj, Sprinkle
Constant Summary
collapse
- VERSION =
"0.0.2"
Class Method Summary
collapse
Class Method Details
.pbxproj ⇒ Object
19
20
21
22
|
# File 'lib/zimt.rb', line 19
def self.pbxproj
path = Pathname.new(File.join(self.xcodeproj, 'project.pbxproj'))
@pbxproj ||= PBXProj.new(path)
end
|
.xcodeproj ⇒ Object
13
14
15
16
17
|
# File 'lib/zimt.rb', line 13
def self.xcodeproj
@xcodeproj ||= find_xcodeproj
raise "Could not locate .xcodeproj" unless @xcodeproj
Pathname.new(@xcodeproj)
end
|
.zimts_dir ⇒ Object
24
25
26
|
# File 'lib/zimt.rb', line 24
def self.zimts_dir
Pathname.new(File.expand_path(File.join(self.xcodeproj, '..', 'zimts')))
end
|