Sha256: 1d0a75e9bb22a0b38422ac6a7d679b53d7c69a6df7f4649d5f6b7c46bb18502b
Contents?: true
Size: 513 Bytes
Versions: 13
Compression:
Stored size: 513 Bytes
Contents
# frozen_string_literal: true module Script module Layers module Infrastructure module Languages class TaskRunner TASK_RUNNERS = { "assemblyscript" => AssemblyScriptTaskRunner, "rust" => 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 end
Version data entries
13 entries across 13 versions & 1 rubygems