<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Codedrop™ Weblog &#187; Capistrano</title>
	<atom:link href="http://www.codedrop.ca/blog/archives/tag/capistrano/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codedrop.ca/blog</link>
	<description>Drop'n some code and other tech tidbits...</description>
	<lastBuildDate>Sun, 01 Jan 2012 07:48:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Capistrano Callbacks</title>
		<link>http://www.codedrop.ca/blog/archives/196</link>
		<comments>http://www.codedrop.ca/blog/archives/196#comments</comments>
		<pubDate>Wed, 18 Nov 2009 18:51:10 +0000</pubDate>
		<dc:creator>groll</dc:creator>
				<category><![CDATA[Build Automation]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Capistrano]]></category>

		<guid isPermaLink="false">http://www.codedrop.ca/blog/archives/196</guid>
		<description><![CDATA[Neat way to pre-initalize something in capistrano before a task is run on :start do verifyParametersAndInitialize()end callback options: :before, triggered before a task is invoked :after, triggered after a task is invoked :start, triggered before a top-level task is invoked via the command-line :finish, triggered when a top-level task completes :load, triggered after all recipes [...]]]></description>
			<content:encoded><![CDATA[<p>Neat way to pre-initalize something in capistrano before a task is run</p>
<p><code>on :start do<br />  verifyParametersAndInitialize()<br />end</code></p>
<p>callback options:
<ol>
<li> :before, triggered before a task is invoked</li>
<li> :after, triggered after a task is invoked</li>
<li> :start, triggered before a top-level task is invoked via the command-line</li>
<li> :finish, triggered when a top-level task completes</li>
<li> :load, triggered after all recipes have loaded</li>
<li>:exit, triggered after all tasks have completed</li>
</ol>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=4f2cdfcc-4c28-8945-8c89-a12168624c3b" /></div>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/home/?status=Capistrano+Callbacks+http%3A%2F%2Ftinyurl.com%2F42lr3gj" title="Post to Twitter"><img class="nothumb" src="http://www.codedrop.ca/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter.png" alt="Post to Twitter" /></a> <a class="tt" href="http://twitter.com/home/?status=Capistrano+Callbacks+http%3A%2F%2Ftinyurl.com%2F42lr3gj" title="Post to Twitter">Tweet This Post</a></p></div>]]></content:encoded>
			<wfw:commentRss>http://www.codedrop.ca/blog/archives/196/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

