Sha256: 472f3ac6f90894db7fd8fb0853d4915e44d334c51bd8fc01673cbda5d4179659
Contents?: true
Size: 999 Bytes
Versions: 13
Compression:
Stored size: 999 Bytes
Contents
# frozen_string_literal: true module Script module Layers module Infrastructure module Languages class TaskRunner attr_reader :ctx def self.for(ctx, language) task_runners = { "typescript" => TypeScriptTaskRunner, "wasm" => WasmTaskRunner, } task_runner = task_runners[language] || WasmTaskRunner task_runner.new(ctx) end def initialize(ctx) @ctx = ctx end def build raise NotImplementedError end def dependencies_installed? raise NotImplementedError end def install_dependencies raise NotImplementedError end def metadata_file_location raise NotImplementedError end def library_version(_library_name) raise NotImplementedError end end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems