Sha256: c6d0ba7375d6c524f75871d79923bad77d29a78ad876709f7f639a4cecaa2a22
Contents?: true
Size: 556 Bytes
Versions: 3
Compression:
Stored size: 556 Bytes
Contents
require 'securerandom' module Bower module Generators class InstallGenerator < Rails::Generators::Base source_root File.expand_path("../../templates", __FILE__) desc "Creates a local configuration file and the default JSON file for Bower to use in your application." def create_components_directory empty_directory 'bower_components' end def copy_component_json copy_file 'bower.json', 'bower.json' end def copy_config copy_file "bowerrc", ".bowerrc" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bower-0.0.4 | lib/generators/bower/install_generator.rb |
bower-0.0.3 | lib/generators/bower/install_generator.rb |
bower-0.0.2 | lib/generators/bower/install_generator.rb |