Sha256: c908d6ff2a1424977c2da7117709c06fec1295a8566a6fcf5618ca450992cfc4

Contents?: true

Size: 431 Bytes

Versions: 3

Compression:

Stored size: 431 Bytes

Contents

module CocoaPods
  module AppGroup
    module Hook
      def install!
        Setup.new.call if enabled?
        super
      end

      def generate_pods_project
        SetupXcconfig.new(self).call if enabled?
        super
      end

      private

      def enabled?
        podfile && podfile.plugins && !podfile.plugins['cocoapods-app_group'].nil?
      end

    end
  end
end
Pod::Installer.prepend CocoaPods::AppGroup::Hook

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocoapods-app_group-0.4.1 lib/cocoapods/app_group/hook.rb
cocoapods-app_group-0.4.0 lib/cocoapods/app_group/hook.rb
cocoapods-app_group-0.3.0 lib/cocoapods/app_group/hook.rb