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

Is it possible to run a custom config file other than ~/.crafter.rb? #9

Closed
wilmarvh opened this issue Jun 23, 2014 · 1 comment
Closed

Comments

@wilmarvh
Copy link

I want to write a config file to be reused within a specific set of developers. How do I run the crafter command, along with that custom file?

Something like?

crafter ~/path/to/my/file.rb
@krzysztofzablocki
Copy link
Owner

right now you'd probably could add include in your ~/.crafter.rb and do some presenting before user specific configure block hits.

What you could try adding is extra param (see bin/crafter) that would store a specific configuration file path override in Crafter, then in https://github.com/krzysztofzablocki/crafter/blob/master/lib/crafter.rb#L111 you could just add a simple check if there is custom file and load that instead, need help with that? I'd be happy to merge PR for this :)

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

No branches or pull requests

2 participants