Sha256: ecbd3810fbf256061f0f08a4fad9b830b5090f18135272494bcd78b48158e085

Contents?: true

Size: 465 Bytes

Versions: 2

Compression:

Stored size: 465 Bytes

Contents

require "thor"

module WebpackDriver

    class Configuration

        class Generated < Thor::Group
            include Thor::Actions

            class_option :config

            def self.source_root
                Pathname.new(__FILE__).dirname.join("..","..","..","templates")
            end

            def output
                template("generated.config.js", options[:config].path,  verbose: false, force: true)
            end

        end
    end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webpack_driver-0.2.1 lib/webpack_driver/configuration/generated.rb
webpack_driver-0.2.0 lib/webpack_driver/configuration/generated.rb