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 the ability to initialize all guards at once and a --bare option to the init task #232

Merged
merged 5 commits into from
Jan 28, 2012

Conversation

Maher4Ever
Copy link
Contributor

Hello Guard core-devs,

Today I have spent some time implementing a feature-request I found on your issues-tracker.

As a consequence of the new features, Guard has changed a bit:

  • The init task defaults now to searching for installed guards and adding them to the new Guardfile.
  • The old functionality has been moved to the new --bare or -b option for the init task. This will just generate a Guard file with the default Guard template.
  • Multiple invokes of the init task with the --bare option will display an error and abort the Guard process if a Guardfile already exists (just like it used to do). This is not the case when invoking the init task with or w/o a guard name; These will result in adding the same templates to the Guardfile.

The new features has been documented, tested and added to the README file. I also made sure that all tests pass on travis-ci to make merging this feature easier.

Cheers

@thibaudgg
Copy link
Member

Awesome, very good work! We'll release that in Guard 1.1, thanks.

thibaudgg added a commit that referenced this pull request Jan 28, 2012
Add the ability to initialize all guards at once and a --bare option to the init task
@thibaudgg thibaudgg merged commit 3e854a9 into guard:master Jan 28, 2012
@netzpirat
Copy link
Contributor

Woot, thanks a lot!

@Maher4Ever
Copy link
Contributor Author

You are all more than welcome, keep up the good work :)

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.

3 participants