Option to specify extra scripts dirs #355

Merged
merged 1 commit into from Jan 10, 2013

Projects

None yet

4 participants

@cjbottaro
Contributor

Hello,

I added an option to specify extra scripts dirs to load. It's useful for us because we have a lot of scripts that are specific to our company and reside in our git repo. It would be nice to run Hubot and just point it at this dir, that way we can upgrade Hubot versions easily without having to copy over all our scripts, etc.

Thanks.

@patcon
patcon commented Oct 24, 2012

👍

@ecarter
ecarter commented Nov 4, 2012

@cjbottaro this is great.

I just did something similar to include a single directory with --include ecarter/hubot@0405ffa before finding your pull request.

Definitely like your approach better since it allows for multiple directories.

🤘 gracias!

@tombell tombell merged commit d2a44bb into github:master Jan 10, 2013
@tombell
Contributor
tombell commented Jan 10, 2013

Changed the long form to --require as it better matched the -r.

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