mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
- use find instead of git ls-files in the event that we are
running from a source tarball.
This commit is contained in:
parent
e28fffc097
commit
67653575e9
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -53,9 +53,9 @@ build/ruby/logstash/runner.class: lib/logstash/runner.rb | build/ruby $(JRUBY)
|
||||||
.PHONY: copy-ruby-files
|
.PHONY: copy-ruby-files
|
||||||
copy-ruby-files: | build/ruby
|
copy-ruby-files: | build/ruby
|
||||||
@# Copy lib/ and test/ files to the root.
|
@# Copy lib/ and test/ files to the root.
|
||||||
$(QUIET)git ls-files | grep '^lib/.*\.rb$$' | sed -e 's,^lib/,,' \
|
$(QUIET)find ./lib -name '*.rb' | sed -e 's,^lib/,,' \
|
||||||
| (cd lib; cpio -p --make-directories ../build/ruby)
|
| (cd lib; cpio -p --make-directories ../build/ruby)
|
||||||
$(QUIET)git ls-files | grep '^test/.*\.rb$$' | sed -e 's,^test/,,' \
|
$(QUIET)find ./test -name '*.rb' | sed -e 's,^test/,,' \
|
||||||
| (cd test; cpio -p --make-directories ../build/ruby)
|
| (cd test; cpio -p --make-directories ../build/ruby)
|
||||||
|
|
||||||
vendor:
|
vendor:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue