Sha256: ae374d13c4c90767b606904dd64fe53ed29a15a1417cc6cdefbdfac45fae6c0f

Contents?: true

Size: 379 Bytes

Versions: 2

Compression:

Stored size: 379 Bytes

Contents

namespace :engine_pack do
  desc <<-HEREDOC
    Install configured gems as JavaScript packages using configured package manager.
    Example:
      rake engine_pack:preinstall
  HEREDOC
  task preinstall: :environment do
    exit 0 if ENV.fetch(EnginePack::Preinstall::ENV_VARIABLE_NAME, nil) == '1'

    EnginePack::Preinstall.call(engines: EnginePack.config.engines)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
engine_pack-0.2.0 lib/engine_pack/tasks/preinstall.rake
engine_pack-0.1.0 lib/engine_pack/tasks/preinstall.rake