Class: EmbeddedJs::PackageManagers::Yarn

Inherits:
Object
  • Object
show all
Defined in:
lib/embedded_js/package_managers/yarn.rb

Constant Summary collapse

INSTALL_COMMAND =
'yarn add file:%<engine_path>s'

Instance Method Summary collapse

Instance Method Details

#install_command(engine_path) ⇒ Object



8
9
10
# File 'lib/embedded_js/package_managers/yarn.rb', line 8

def install_command(engine_path)
  format(INSTALL_COMMAND, engine_path: engine_path)
end