module Dapp::Dimg::Dapp::Command::Ruby2GoCleanup
Public Instance Methods
ruby2go_cleanup_cache_version_options()
click to toggle source
# File lib/dapp/dimg/dapp/command/ruby2go_cleanup.rb, line 29 def ruby2go_cleanup_cache_version_options { cache_version: ::Dapp::BUILD_CACHE_VERSION.to_s } end
ruby2go_cleanup_command(command, command_options, **options)
click to toggle source
# File lib/dapp/dimg/dapp/command/ruby2go_cleanup.rb, line 6 def ruby2go_cleanup_command(command, command_options, **options) options = { command: command, command_options: command_options, options: { host_docker_config_dir: self.class.host_docker_config_dir }.merge(options) } ruby2go_cleanup(options).tap do |res| raise Error::Build, code: :ruby2go_cleanup_command_failed_unexpected_error, data: { command: command, message: res["error"] } unless res["error"].nil? end end
ruby2go_cleanup_common_project_options()
click to toggle source
# File lib/dapp/dimg/dapp/command/ruby2go_cleanup.rb, line 18 def ruby2go_cleanup_common_project_options { common_project_options: { project_name: name, common_options: { dry_run: dry_run?, } }, } end
ruby2go_cleanup_common_repo_options()
click to toggle source
# File lib/dapp/dimg/dapp/command/ruby2go_cleanup.rb, line 35 def ruby2go_cleanup_common_repo_options { common_repo_options: { repository: option_repo, dimgs_names: nameless_dimg? ? [] : dimgs_names, dry_run: dry_run? } } end