mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
b0fefbbd71
commit
ec97d3d78c
2 changed files with 6 additions and 1 deletions
|
@ -21,7 +21,7 @@ namespace "plugin" do
|
|||
Rake::Task["vendor:bundle"].invoke("tools/Gemfile.plugins.test")
|
||||
end
|
||||
|
||||
task "install-all" do
|
||||
task "install-all" => [ "dependency:octokit" ] do
|
||||
Rake::Task["vendor:bundle"].invoke("tools/Gemfile.plugins.all")
|
||||
end
|
||||
|
||||
|
|
|
@ -16,6 +16,11 @@ namespace "test" do
|
|||
RSpec::Core::Runner.run(["--fail-fast", *Rake::FileList["spec/**/*.rb"]])
|
||||
end
|
||||
|
||||
task "plugins" => [ "bootstrap","plugin:install-all" ] do
|
||||
pattern = "vendor/bundle/jruby/1.9/gems/logstash-*/spec/{input,filter,codec,output}s/*_spec.rb"
|
||||
sh "./bin/logstash rspec #{pattern}"
|
||||
end
|
||||
|
||||
task "prep" do
|
||||
Rake::Task["vendor:gems"].invoke(false)
|
||||
Rake::Task["plugin:install-test"].invoke
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue