Sha256: a25b8be05bc7857f2914fb2f51500f8aa01c81f068c99ec9ab891e175fc4091d

Contents?: true

Size: 454 Bytes

Versions: 5

Compression:

Stored size: 454 Bytes

Contents

require 'xcodeproj'

module Xcodeproj
  class Project
    module Object
      class PBXVariantGroup
        
        def sync(group)
          ensure_internal_consistency(group)
          folder_path = children.first.real_path.parent
          work_destination_pathname = parent.work_pathname
          if folder_path.exist?
            FileUtils.mv(folder_path, work_destination_pathname.realpath)
          end
        end

      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
synx-0.0.51 lib/synx/pbx_variant_group.rb
synx-0.0.5 lib/synx/pbx_variant_group.rb
synx-0.0.4 lib/synx/pbx_variant_group.rb
synx-0.0.3 lib/synx/pbx_variant_group.rb
synx-0.0.2 lib/synx/pbx_variant_group.rb