lib/generapp/generators/app_generator.rb in generapp-0.3.1 vs lib/generapp/generators/app_generator.rb in generapp-0.3.2
- old
+ new
@@ -43,10 +43,11 @@
invoke :configure_app
invoke :setup_stylesheets
invoke :setup_database
invoke :setup_git
invoke :setup_bundler_audit
+ invoke :setup_rubocop
invoke :setup_spring
invoke :outro
end
def setup_gems
@@ -109,9 +110,14 @@
end
def setup_bundler_audit
say 'Setting up bundler-audit'
build :setup_bundler_audit
+ end
+
+ def setup_rubocop
+ say 'Setting up rubocop'
+ build :setup_rubocop
end
def setup_spring
say 'Springifying executables'
build :setup_spring