voicemeeter-rb/rakefile
2023-08-07 22:32:35 +01:00

23 lines
443 B
Plaintext

require "rake/testtask"
HERE = __dir__
Rake::TestTask.new do |t|
t.pattern = "test/test_*.rb"
end
task default: :test
task :events do
filepath = File.join(HERE, "examples", "events", "main.rb")
ruby filepath
end
task :midi do
filepath = File.join(HERE, "examples", "midi", "main.rb")
ruby filepath
end
task :obs do
targetdir = File.join(HERE, "examples", "obs")
Dir.chdir(targetdir)
ruby File.join(targetdir, "main.rb")
end