Sha256: 812688e2a4afba7b01668dd657b36c92a4cc5beef890ca487a2a48444d65f94e

Contents?: true

Size: 564 Bytes

Versions: 13

Compression:

Stored size: 564 Bytes

Contents

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)
  end

  def self.source_root
    File.expand_path('..', File.dirname(__FILE__))
  end

  def self.template_dir
    File.expand_path('templates', source_root)
  end
end

# I18n to load the en locale
I18n.load_path << File.expand_path("locales/en.yml", PEBuild.template_dir)

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
vagrant-pe_build-0.8.3 lib/pe_build.rb
vagrant-pe_build-0.8.2 lib/pe_build.rb
vagrant-pe_build-0.8.1 lib/pe_build.rb
vagrant-pe_build-0.8.0 lib/pe_build.rb
vagrant-pe_build-0.7.1 lib/pe_build.rb
vagrant-pe_build-0.7.0 lib/pe_build.rb
vagrant-pe_build-0.6.0 lib/pe_build.rb
vagrant-pe_build-0.5.0 lib/pe_build.rb
vagrant-pe_build-0.4.3 lib/pe_build.rb
vagrant-pe_build-0.4.2 lib/pe_build.rb
vagrant-pe_build-0.4.1 lib/pe_build.rb
vagrant-pe_build-0.4.0 lib/pe_build.rb
vagrant-pe_build-0.3.0 lib/pe_build.rb