Sha256: a7fc95f7042b5e57477ef77238f719f31e31ae9b67a4eae33a0900f08f592f6c
Contents?: true
Size: 838 Bytes
Versions: 1
Compression:
Stored size: 838 Bytes
Contents
# frozen_string_literal: true module GoNative module Plugins module IOS class Publish extend DSL::Serviceable include Release def call assert_valid_plugin! build_framework! release_pod! end def assert_valid_plugin! return if File.file?('create-framework.sh') raise Error, "File 'create-framework.sh' does not exist. Please make sure this is a valid GoNative plugin directory" end def build_framework! Utils::UI.info 'Building framework' return if system('sh create-framework.sh >/dev/null 2>/dev/null') raise Error, "Error building framework. Please run the create-framework file manually to fix any errors" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gonative-cli-0.4.0 | lib/gonative/plugins/ios/publish.rb |