Sha256: 1d5e20de9c1889f7af7c9b24e1e953ce9c1633fa58daaaa9ffedb52a5bd80545
Contents?: true
Size: 525 Bytes
Versions: 16
Compression:
Stored size: 525 Bytes
Contents
# frozen_string_literal: true module Script module Layers module Infrastructure module Languages class TaskRunner TASK_RUNNERS = { "assemblyscript" => AssemblyScriptTaskRunner, "typescript" => TypeScriptTaskRunner, } 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
16 entries across 16 versions & 1 rubygems