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 task to load defaults #605

Merged
merged 1 commit into from
Aug 9, 2013
Merged

Add a task to load defaults #605

merged 1 commit into from
Aug 9, 2013

Conversation

seenmyfate
Copy link
Member

Now gems can implement a 'load:defaults' task in order to set any
defaults that may rely on other varibles set in stage configuration.

namespace :load do
  task :defaults do
    set :my_file, release_path.join('my_file')
  end
end

Now gems can implement a 'load:defaults' task in order to set any
defaults that may rely on other varibles set in stage configuration.

    namespace :load do
      task :defaults do
        set :my_file, release_path.join('my_file')
      end
    end
seenmyfate added a commit that referenced this pull request Aug 9, 2013
@seenmyfate seenmyfate merged commit 840a213 into v3 Aug 9, 2013
@seenmyfate seenmyfate deleted the feature/load-default-task branch August 9, 2013 16:01
@kirs
Copy link
Member

kirs commented Aug 9, 2013

Great! I have to use these hooks in cap-rbenv and cap-rvm.

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.

None yet

2 participants