Class: Pod::Podfile
- Inherits:
-
Object
- Object
- Pod::Podfile
- Defined in:
- lib/helper/podfile.rb,
lib/helper/podfile_options.rb,
lib/helper/Core/podfile/dsl.rb,
lib/cocoapods-dongjia/command/release.rb
Defined Under Namespace
Modules: DSL Classes: TargetDefinition
Constant Summary collapse
- @@debug_only_pods =
只在 debug 模式下集成的组件,默认为空
[]
- @@is_release_mode =
false
Class Method Summary collapse
Instance Method Summary collapse
-
#import_relative_in(path = './') ⇒ Object
导入工程目录下相对位置的 pod.
Class Method Details
.is_release_mode? ⇒ Boolean
10 11 12 |
# File 'lib/cocoapods-dongjia/command/release.rb', line 10 def self.is_release_mode? @@is_release_mode end |
.set_is_release_mode(mode) ⇒ Object
7 8 9 |
# File 'lib/cocoapods-dongjia/command/release.rb', line 7 def self.set_is_release_mode(mode) @@is_release_mode = mode end |
Instance Method Details
#import_relative_in(path = './') ⇒ Object
导入工程目录下相对位置的 pod
29 30 31 32 33 |
# File 'lib/helper/podfile.rb', line 29 def import_relative_in(path = './') LocalSpec.import_local_pod(path) do yield if block_given? end end |