8
9
10
11
12
13
14
15
16
17
18
|
# File 'lib/project_types/script/layers/application/push_script.rb', line 8
def call(ctx:, language:, extension_point_type:, script_name:, source_file:, api_key:, force:)
script = Infrastructure::ScriptRepository.new(ctx: ctx).get_script(
language,
extension_point_type,
script_name
)
task_runner = Infrastructure::TaskRunner.for(ctx, language, script_name, source_file)
ProjectDependencies.install(ctx: ctx, task_runner: task_runner)
BuildScript.call(ctx: ctx, task_runner: task_runner, script: script)
push_script(ctx, task_runner, script, api_key, force)
end
|