machbarmacher/boxfile

This package is abandoned and no longer maintained. No replacement package was suggested.

Command to handle freistil Boxfiles anywhere

0.1.3 2017-12-25 01:55 UTC

This package is auto-updated.

Last update: 2019-08-09 14:50:34 UTC


README

This is a tool for applying Boxfile specifics to your project. A Boxfile is a configuration file for a Freistilbox site.

Installation

The tool can be installed via Composer.

composer require machbarmacher/boxfile

Kudos

Thanks to derhasi for the V1 implementation.

Command

Creating symlinks for environment specific paths.

./vendor/bin/boxfile symlink [env] --boxfile=Boxfile --docroot=docroot

Example boxfile

version: 1.0
shared_folders:
  - sites/default/files
env_specific_files:
  .htaccess:
    local: .htaccess.local
    staging: .htaccess.stage
  sites/default/settings.php:
    local: settings.local.php
    staging: settings.stage.php

With ./vendor/bin/boxfile local symlinks for the given example will be applied.