Sha256: 6881d9a7845fe30560292fa757c6c1c1b5d5d6ae01d16d47240a11c683b3fa36
Contents?: true
Size: 586 Bytes
Versions: 11
Compression:
Stored size: 586 Bytes
Contents
require 'thor/group' require 'active_support' require 'active_support/core_ext' module Locomotive module Wagon module Generators class Webpack < Thor::Group include Thor::Actions include Locomotive::Wagon::CLI::ForceColor argument :target_path # path to the site def copy_source directory('webpack', self.target_path, { recursive: true }) end def self.source_root File.join(File.dirname(__FILE__), '..', '..', '..', '..', 'generators') end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems