Sha256: 028879b81c399074a38c21e3d3aa1bb16ed5a62c0d204c64eeb28923c06a4e94

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

# frozen_string_literal: true

require 'rake_factory'
require 'ruby_npm'

module RakeNPM
  module Tasks
    class Install < RakeFactory::Task
      default_name :install
      default_description(RakeFactory::DynamicValue.new do |_t|
        'Install NPM dependencies'
      end)

      action do |_|
        puts 'Installing NPM dependencies...'
        RubyNPM.install
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rake_npm-0.1.0.pre.3 lib/rake_npm/tasks/install.rb