# -*- mode: ruby; coding: utf-8 -*- %w[../xot ../rucy .] .map {|s| File.expand_path "#{s}/lib", __dir__} .each {|s| $:.unshift s if !$:.include?(s) && File.directory?(s)} require 'rucy/rake' require 'xot/module' require 'rucy/module' require 'beeps/module' MODULES = [Xot, Rucy, Beeps] TESTS_ALONE = ['test/test_beeps.rb'] use_external_library 'https://github.com/thestk/stk', tag: 'v4.6.0', incdir: 'include', srcdir: 'src', excludes: %w[stk/src/include Tcp Udp Socket Thread Mutex InetWv /Rt] build_native_library build_ruby_extension test_ruby_extension generate_documents build_ruby_gem task :default => :ext