Sha256: aa9148a588c03f8cc0d003507d9191ab8bcda5278bed901ffc54de8e519ba510

Contents?: true

Size: 603 Bytes

Versions: 9

Compression:

Stored size: 603 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 :archs, default: 'x86_64,arm64'

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gonative-cli-1.3.3 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.2 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.1 lib/gonative/commands/ios/publish.rb
gonative-cli-1.3.0 lib/gonative/commands/ios/publish.rb
gonative-cli-1.2.4 lib/gonative/commands/ios/publish.rb
gonative-cli-1.2.3 lib/gonative/commands/ios/publish.rb
gonative-cli-1.2.2 lib/gonative/commands/ios/publish.rb
gonative-cli-1.2.1 lib/gonative/commands/ios/publish.rb
gonative-cli-1.2.0 lib/gonative/commands/ios/publish.rb