mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2024-12-22 14:02:21 +00:00
22d46b7ba4
* update library files * update whispercpp * not needed for gem
13 lines
316 B
Ruby
13 lines
316 B
Ruby
require 'rake/clean'
|
|
require 'rubygems/package'
|
|
|
|
desc 'Build gem'
|
|
task :package do
|
|
spec_source = File.read File.join(File.dirname(__FILE__),'whispercpp.gemspec')
|
|
spec = nil
|
|
# see: http://gist.github.com/16215
|
|
Thread.new { spec = eval("#{spec_source}") }.join
|
|
spec.validate
|
|
Gem::Package.build(spec)
|
|
end
|