whisper.cpp / bindings /ruby /extsources.rb
KitaitiMakoto's picture
ruby : Follow source tree change (#2580)
7895d75 unverified
raw
history blame
294 Bytes
require "yaml"
sources = `git ls-files -z ../..`.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