lib/generators/faalis/install_generator.rb in faalis-0.26.3 vs lib/generators/faalis/install_generator.rb in faalis-1.0.0.alpha0
- old
+ new
@@ -24,13 +24,13 @@
source_root File.expand_path('../templates', __FILE__)
desc 'Copy all the necessary files to use Faalis'
class_option :orm
- def install_mailboxer
- invoke 'mailboxer:install'
- end
+ #def install_mailboxer
+ # invoke 'mailboxer:install'
+ #end
def install_model_discovery
rake 'model_discovery_engine:install:migrations'
end
@@ -44,9 +44,13 @@
end
def copy_js_manifest
template 'application.js', "#{angularjs_app_path}application.js"
empty_directory "#{angularjs_app_path}modules"
+ end
+
+ def grunt_file
+ template 'i18n/Gruntfile.js.erb', 'lib/tasks/grunt/Gruntfile.js'
end
def copy_scss_manifest
directory 'stylesheets', 'app/assets/stylesheets'
end