Sha256: 533c8c9b1af0f6fb7b75f4f79b6dc54f5d69fc26f2029e6d38c2f8f402948866

Contents?: true

Size: 954 Bytes

Versions: 19

Compression:

Stored size: 954 Bytes

Contents

require 'cocoapods'

# module Pod
#   class Installer
#
#     class PodSourcePreparer
#       alias_method :old_prepare!, :prepare!
#       def prepare!
#         if @spec.flutter == nil || @spec.flutter == false
#           old_prepare!
#         else
#           flutter_run_prepare_command
#         end
#       end
#
#       def flutter_run_prepare_command
#         return unless @spec.prepare_command
#         UI.section(' > Running flutter prepare command', '', 1) do
#           Dir.chdir(path) do
#             begin
#               ENV.delete('CDPATH')
#               ENV['COCOAPODS_VERSION'] = Pod::VERSION
#               prepare_command = spec.prepare_command.strip_heredoc.chomp
#               full_command = "\nset -e\n" + prepare_command
#               bash!('-c', full_command)
#             ensure
#               ENV.delete('COCOAPODS_VERSION')
#             end
#           end
#         end
#       end
#
#     end
#   end
# end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cocoapods-flutter-dt-0.4.3 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.4.2 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.4.1 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.7 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.6 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.5 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.4 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.3 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.2 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.1 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.2.0 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.1.0 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.0.9 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.0.8 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.0.7 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.0.6 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.0.4 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.0.3 lib/cocoapods-flutter/native/pod_source_preparer.rb
cocoapods-flutter-dt-0.0.2 lib/cocoapods-flutter/native/pod_source_preparer.rb