turbulent / substance

Local Docker-powered development environments
Apache License 2.0
18 stars 8 forks source link

add subenv.yml aliases handling #29

Closed S0yKaf closed 6 years ago

S0yKaf commented 6 years ago

let me know if you want some tests with this.

The `subenv.yml` is a useful file for storing subenv specific
settings that you might need for your project. one common use case
for this file would be to integrate custom aliases specific to your
project. However, this feature wasn't supported.

These changes now make it possible to add an aliases section to
your `subenv.yml` the same way as you would in your default
`engine.yml`.

This is done by navigating to the specific sub-envs path and
loading up the `subenv.yml` inside the engine and merging
both aliases sections when aliases are accessed.

Fixes #22

S0yKaf commented 6 years ago

@codeclimate They were identical before, please...

bbeausej commented 6 years ago

Verified and tested. All good!