Sha256: fcadb8c1e6f67c4b14ef368325963a7a57e7f04f4a941dafc8f594d18a41cb25
Contents?: true
Size: 599 Bytes
Versions: 1
Compression:
Stored size: 599 Bytes
Contents
require 'rails' module Awe module Generators class InstallGenerator < ::Rails::Generators::Base desc "This generator installs AWE (Artefact Web Extensions) into the rails asset pipeline" source_root File.expand_path('../../../../../vendor/assets/javascripts', __FILE__) def copy_awe say_status("copying", "awe-core", :green) copy_file "awe-core.js", "public/javascripts/awe-core.js" say_status("copying", "awe-state-machine", :green) copy_file "awe-state-machine.js", "public/javascripts/awe-state-machine.js" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
awe-rails-0.1.0 | lib/generators/awe/install/install_generator.rb |