Class: Lilac::CLI::FullRuntimeResolver
- Inherits:
-
RuntimeResolver
- Object
- RuntimeResolver
- Lilac::CLI::FullRuntimeResolver
- Defined in:
- lib/lilac/cli/build/full_runtime_resolver.rb
Overview
Locates the target: :full runtime that gets vendored into
dist/vendor/lilac-full/:
* `lilac-full.wasm` — the full-variant wasm bundle (parser +
directive scanner + bundled gems)
* `mruby-wasm-js/` — the JS↔mruby bridge (resolved by the shared
base — same artifact as the :compiled target)
Only the wasm-specific discovery differs from :compiled, so this
class supplies just those hooks. See RuntimeResolver.
Defined Under Namespace
Classes: Error
Instance Method Summary collapse
-
#initialize(lilac_full_path: nil, **opts) ⇒ FullRuntimeResolver
constructor
A new instance of FullRuntimeResolver.
Methods inherited from RuntimeResolver
#bridge_path, #resolve_bridge!, #resolve_wasm!, #wasm_path
Constructor Details
#initialize(lilac_full_path: nil, **opts) ⇒ FullRuntimeResolver
Returns a new instance of FullRuntimeResolver.
21 22 23 |
# File 'lib/lilac/cli/build/full_runtime_resolver.rb', line 21 def initialize(lilac_full_path: nil, **opts) super(lilac_wasm_path: lilac_full_path, **opts) end |