Sha256: dad0e27b45639ce043638730df2f162c9386e865a597a2b7110d7bfad0449830

Contents?: true

Size: 534 Bytes

Versions: 2

Compression:

Stored size: 534 Bytes

Contents

require 'vagrant'

module PEBuild

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

require 'pe_build/plugin'
require 'pe_build/version'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-pe_build-0.2.0 lib/pe_build.rb
vagrant-pe_build-0.1.0 lib/pe_build.rb