begin require 'vagrant' rescue LoadError raise 'The vagrant-guest-msys2 plugin must be run within Vagrant.' end module VagrantPlugins module GuestMSYS2 class Plugin < Vagrant.plugin("2") name "MSYS2 guest" description "MSYS2 guest support." guest('msys2') do require File.expand_path("../guest", __FILE__) Guest end guest_capability("msys2", "halt") do require_relative "cap/halt" Cap::Halt end end end end