mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- package:monolith:jar target seems to be working.
This commit is contained in:
parent
6e9e0cc4a3
commit
5e00e8b4d6
1 changed files with 4 additions and 0 deletions
4
Rakefile
4
Rakefile
|
@ -1,6 +1,8 @@
|
||||||
require 'tempfile'
|
require 'tempfile'
|
||||||
require 'ftools'
|
require 'ftools'
|
||||||
|
|
||||||
|
LOGSTASH_VERSION = "0.9.1"
|
||||||
|
|
||||||
# Compile config grammar (ragel -> ruby)
|
# Compile config grammar (ragel -> ruby)
|
||||||
file "lib/logstash/config/grammar.rb" => ["lib/logstash/config/grammar.rl"] do
|
file "lib/logstash/config/grammar.rb" => ["lib/logstash/config/grammar.rl"] do
|
||||||
sh "make -C lib/logstash/config grammar.rb"
|
sh "make -C lib/logstash/config grammar.rb"
|
||||||
|
@ -124,6 +126,8 @@ namespace :package do
|
||||||
puts "=> Copying #{file} => #{target}"
|
puts "=> Copying #{file} => #{target}"
|
||||||
File.copy(file, target)
|
File.copy(file, target)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
sh "jar -cf logstash-#{LOGSTASH_VERSION}.jar -C build-jar ."
|
||||||
end # package:monolith:jar
|
end # package:monolith:jar
|
||||||
end # monolith
|
end # monolith
|
||||||
end # package
|
end # package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue