Config in CWD and resolve ABRA_DIR #4
Reference in New Issue
Block a user
No description provided.
Delete Branch "eCommons/alakazam:config-location"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added support for reading alakazam.yml from CWD and fallback to ~/.config/alakazam.yml. This allows working with a completely separate path for e.g. development.
I also had abra configured with a different abra_dir. When alakazam runs abra, it uses the configured abra dir, but alakazam also had some hardcoded references to ~/.abra. I added get_abra_dir() with the same logic that abra uses internally and replaced all hardcoded references.
Woah, super cool @dannygroenewegen! Great to see this happening. Driving by but LGTM! Not to demand too much but probably it would be pretty easy to create a unit test for
get_abra_dir. We have to start writing tests eventually 🙃 I trust @moritz will know better.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.