New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run yogi loader outside of the src directory #82

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant
@bretkikehara

Motivation

Currently, if the yogi loader command is called, the loader will generate a list of all the modules in a yui3.json. But the loader is limited to being run inside the src folder. Just as Shifter is able to normalize the execution directory, yogi should be able to run within any module directory.

Assumptions

Just like how Shifter uses a .shifter.json file to configure a build, a .yogi.json file would be needed in the future to configure module deployment.

Usage

By defining the start option, we override the automatic directory normalization.

Examples of Automatic Path Nomalization

~/ yogi loader

or:

~/src yogi loader

Examples of Manual Path Configuration

/ yogi loader --start [path to repo]

or:

~/src yogi loader --start ../

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment