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

Make capistrano more 'rakeish' #1

Open
slowjack2k opened this issue May 6, 2014 · 0 comments
Open

Make capistrano more 'rakeish' #1

slowjack2k opened this issue May 6, 2014 · 0 comments

Comments

@slowjack2k
Copy link

As I started a discussion here I want to drive the discussion a little furthor. For myself I have not so many ideas but it feel's like that capistrano is still not so rakeish like it could be.

Additional to my thoughts in the pull request I would suggest as first step that capistrano can provide a load_additional_rake tasks method.
This one should replace the Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r } pattern in the Capfile. This way capistrano can ensure that additional tasks are loaded after all set statements in the defaults and stage file run.

Maybe it can be a default, when a folder lib/capistrano/tasks exists every task is loaded.

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

1 participant