Merge pull request #2052 from vikhyat/plugin-tests
Don't run plugin gem tests
This commit is contained in:
commit
23aa478473
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ end
|
||||||
|
|
||||||
desc 'run plugin specs'
|
desc 'run plugin specs'
|
||||||
task 'plugin:spec', :plugin do |t, args|
|
task 'plugin:spec', :plugin do |t, args|
|
||||||
args.with_defaults(plugin: "**")
|
args.with_defaults(plugin: "*")
|
||||||
ruby = `which ruby`.strip
|
ruby = `which ruby`.strip
|
||||||
files = Dir.glob("./plugins/#{args[:plugin]}/spec/**/*.rb")
|
files = Dir.glob("./plugins/#{args[:plugin]}/spec/**/*.rb")
|
||||||
if files.length > 0
|
if files.length > 0
|
||||||
|
|
Reference in a new issue