Sha256: b6bc08add287f5473a3ea9247219b53d8143773bd1bb437b1d94ff2347000f0d
Contents?: true
Size: 492 Bytes
Versions: 9
Compression:
Stored size: 492 Bytes
Contents
# frozen_string_literal: true module Script module Layers module Infrastructure class TaskRunner TASK_RUNNERS = { "assemblyscript" => Infrastructure::AssemblyScriptTaskRunner, "rust" => Infrastructure::RustTaskRunner, } def self.for(ctx, language, script_name) raise Errors::TaskRunnerNotFoundError unless TASK_RUNNERS[language] TASK_RUNNERS[language].new(ctx, script_name) end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems