Sha256: 800bc4051b12a2a0cadd2a4cbeb7267f5b76cf20a583dd8d83ac4d0a40d2d382

Contents?: true

Size: 711 Bytes

Versions: 11

Compression:

Stored size: 711 Bytes

Contents

# frozen_string_literal: true

module GoNative
  module Commands
    module IOS
      class Publish < Base
        autoload :FileUtils, 'fileutils'
        desc 'Verify, build and release a new version'
        option :skip_build, type: :boolean, default: false
        option :debug, type: :boolean, default: false
        option :use_existing_build, type: :boolean, default: false
        option :archs, default: 'x86_64,arm64'

        def call(skip_build:, debug:, archs:, use_existing_build:, **)
          Plugins::IOS::Verify.call
          Plugins::IOS::BuildFramework.call(archs, debug, use_existing_build) unless skip_build
          Plugins::IOS::Release.call
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
gonative-cli-1.4.4 lib/gonative/commands/ios/publish.rb
gonative-cli-1.4.3 lib/gonative/commands/ios/publish.rb
gonative-cli-1.4.2 lib/gonative/commands/ios/publish.rb
gonative-cli-1.4.1 lib/gonative/commands/ios/publish.rb
gonative-cli-1.4.0 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.9 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.8 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.7 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.6 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.5 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.4 lib/gonative/commands/ios/publish.rb