Skip to content

Commit 6ccf94c

Browse files
committed
bindings.ruby : fix git ls-files to include submodules
This commit updates the `git ls-files` command in the Ruby bindings to include submodules. The motivation for this change is that without it the rake command will fail as all needed file will not be copied.
1 parent e9f4472 commit 6ccf94c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/ruby/extsources.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
require "yaml"
22

3-
sources = `git ls-files -z ../..`.split("\x0")
3+
sources = `git ls-files -z ../.. --recurse-submodules`.split("\x0")
44
paths = YAML.load_file("../../.github/workflows/bindings-ruby.yml")[true]["push"]["paths"]
55
paths.delete "bindings/ruby/**"
66
EXTSOURCES = (Dir.glob(paths, base: "../..").collect {|path| "../../#{path}"} << "../../LICENSE") & sources

0 commit comments

Comments
 (0)