mirror of
https://github.com/hashicorp/vagrant.git
synced 2025-12-18 15:46:05 -05:00
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.
22 lines
640 B
Ruby
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"
|