vagrant/Rakefile
Chris Roberts b494c30ced Adjust extension location for correct install path
With existing layout the built shared library will end up in the `./lib`
directory, but the expected location being checked is `./lib/vagrant`.
Adjusting the path within the extension directory results in the proper
adjustment to the installation path.
2023-06-21 09:43:28 -07:00

22 lines
640 B
Ruby

require 'rubygems'
require 'bundler/setup'
require "rake/extensiontask"
# Immediately sync all stdout so that tools like buildbot can
# immediately load in the output.
$stdout.sync = true
$stderr.sync = true
Rake::ExtensionTask.new "vagrant/vagrant_ssl" do |ext|
end
# Load all the rake tasks from the "tasks" folder. This folder
# allows us to nicely separate rake tasks into individual files
# based on their role, which makes development and debugging easier
# than one monolithic file.
task_dir = File.expand_path("../tasks", __FILE__)
Dir["#{task_dir}/**/*.rake"].each do |task_file|
load task_file
end
task default: "test:unit"