lib/fulmar/domain/service/application_service.rb in fulmar-1.4.0 vs lib/fulmar/domain/service/application_service.rb in fulmar-1.4.1

- old
+ new

@@ -44,9 +44,21 @@ # Add fulmar application tasks def fulmar_task_dir File.expand_path(File.join(File.dirname(__FILE__), '..', 'task')) end + + def standard_rake_options + options = super + options.reject { |option| option[0] == '--version' } + options << ['--version', '-V', + 'Display the program version.', + lambda { |_value| + puts "fulmar #{Fulmar::VERSION} (using rake, version #{RAKEVERSION})" + exit + } + ] + end end end end end