lib/vim-flavor/cli.rb in vim-flavor-2.1.1 vs lib/vim-flavor/cli.rb in vim-flavor-2.2.0
- old
+ new
@@ -33,12 +33,15 @@
def upgrade(*repo_names)
update(*repo_names)
end
desc 'test [FILES or DIRS]',
- 'Test a Vim plugin in the current working directory.'
+ 'Run tests on a Vim plugin in the current working directory.'
+ method_option :update_dependencies,
+ :desc => 'Update dependencies for testing',
+ :type => :boolean
def test(*files_or_dirs)
- Facade.new().test(files_or_dirs)
+ Facade.new().test(files_or_dirs, options)
end
desc 'version', 'Show the current version.'
def version
puts VERSION