mirror of
https://github.com/elastic/logstash.git
synced 2025-04-22 05:37:21 -04:00
simplify the rspec shim codebase add bin/rspec to the exclude list for packaging removed leftover Fixes #3047
14 lines
359 B
Ruby
Executable file
14 lines
359 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
$LOAD_PATH << File.expand_path(File.join("__FILE__", "..", "lib"))
|
|
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__), "../spec"))
|
|
|
|
require "logstash/environment"
|
|
require "logstash/bundler"
|
|
LogStash::Bundler.setup!
|
|
|
|
require "rspec/core"
|
|
require "rspec"
|
|
|
|
status = RSpec::Core::Runner.run(ARGV).to_i
|
|
exit status if status != 0
|
|
|