Skip to content

Instantly share code, notes, and snippets.

@rpkoller
Created February 6, 2018 13:20
Show Gist options
  • Save rpkoller/2ce3c7c94ac506d9546bf99582297bd4 to your computer and use it in GitHub Desktop.
Save rpkoller/2ce3c7c94ac506d9546bf99582297bd4 to your computer and use it in GitHub Desktop.
# The absolute path to the root directory of the project.
ENV['DRUPALVM_PROJECT_ROOT'] = "#{__dir__}"
# The relative path from the project root to the VM config directory.
ENV['DRUPALVM_CONFIG_DIR'] = "vm"
# The relative path from the project root to the Drupal VM directory.
ENV['DRUPALVM_DIR'] = "vendor/geerlingguy/drupal-vm"
# Load the real Vagrantfile
load "#{__dir__}/#{ENV['DRUPALVM_DIR']}/Vagrantfile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment