mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-04-18 00:06:26 +00:00
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.
This commit is contained in:
parent
e9f4472144
commit
6ccf94cbb9
@ -1,6 +1,6 @@
|
||||
require "yaml"
|
||||
|
||||
sources = `git ls-files -z ../..`.split("\x0")
|
||||
sources = `git ls-files -z ../.. --recurse-submodules`.split("\x0")
|
||||
paths = YAML.load_file("../../.github/workflows/bindings-ruby.yml")[true]["push"]["paths"]
|
||||
paths.delete "bindings/ruby/**"
|
||||
EXTSOURCES = (Dir.glob(paths, base: "../..").collect {|path| "../../#{path}"} << "../../LICENSE") & sources
|
||||
|
Loading…
x
Reference in New Issue
Block a user