Sha256: a1f8213db93fa875e9124a8293390ac178a60876cf3c0cc2c60ff9124126553b

Contents?: true

Size: 566 Bytes

Versions: 1

Compression:

Stored size: 566 Bytes

Contents

require 'securerandom'

module Bower
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)

      desc "Creates a Devise initializer and copy locale files to your application."

      def create_components_directory
        empty_directory 'components/javascripts'
      end

      def copy_component_json
        copy_file 'component.json', 'components/javascripts/component.json'
      end

      def copy_config
        copy_file "bowerrc", ".bowerrc"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bower-0.0.1 lib/generators/bower/install_generator.rb