Sha256: efbc8a3b400d36d5002b477ea3453b333c619047da4e40c3340ede9f676e605b

Contents?: true

Size: 686 Bytes

Versions: 1

Compression:

Stored size: 686 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:, **)
          FileUtils.cd('/Users/hunaidhassan/Projects/gonative/AuthPlugin')
          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

1 entries across 1 versions & 1 rubygems

Version Path
gonative-cli-0.8.0 lib/gonative/commands/ios/publish.rb