Sha256: 30a77669f24f7ead1169b0b5c9ab5d59ddc8f3676f895b86acd1ed65f696738b
Contents?: true
Size: 681 Bytes
Versions: 19
Compression:
Stored size: 681 Bytes
Contents
# frozen_string_literal: true require "shopify_cli" module Extension module Tasks module ExecuteCommands class Build < Base property! :context, accepts: ShopifyCLI::Context property! :config_file_path, accepts: String def call ShopifyCLI::Result .call(&method(:merge_server_config)) .then { |server_config| Models::DevelopmentServer.new.build(server_config) } end private def merge_server_config Tasks::MergeServerConfig.call( context: context, file_path: config_file_path, type: type ) end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems