lib/pe_build.rb in vagrant-pe_build-0.2.0 vs lib/pe_build.rb in vagrant-pe_build-0.3.0
- old
+ new
@@ -1,9 +1,14 @@
require 'vagrant'
module PEBuild
+ require 'pe_build/plugin'
+ require 'pe_build/version'
+
+ WORK_DIR = '.pe_build'
+
# Return the path to the archived PE builds
#
# @param env [Vagrant::Environment]
def self.archive_directory(env)
File.expand_path('pe_builds', env.home_path)
@@ -18,8 +23,5 @@
end
end
# I18n to load the en locale
I18n.load_path << File.expand_path("locales/en.yml", PEBuild.template_dir)
-
-require 'pe_build/plugin'
-require 'pe_build/version'