Skip to content
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

Add a rootDir option #12

Merged
merged 6 commits into from
Nov 5, 2017
Merged

Add a rootDir option #12

merged 6 commits into from
Nov 5, 2017

Conversation

smikula
Copy link
Owner

@smikula smikula commented Nov 5, 2017

This adds a rootDir option (--rootDir or -r on the command line) to specify the root directory of the project. (It defaults to the current working directory.) This also refactors options a bit: the options object is now stored so that it can be accessed globally via getOptions(), and when storing it paths are normalized and defaults filled in for missing values.

@smikula smikula merged commit 0d33406 into master Nov 5, 2017
@smikula smikula deleted the rootdir branch November 5, 2017 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant