forked from ctran/annotate_models
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a script so don't need to rely on Sake anymore
- Loading branch information
Cuong Tran
committed
Feb 29, 2008
1 parent
4bf0348
commit 3502a73
Showing
7 changed files
with
16 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
load 'Rakefile' | ||
require 'tasks/annotate' | ||
|
||
Rake::Task['annotate_models'].invoke | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
task :annotate_models => :environment do | ||
require 'annotate_models' | ||
AnnotateModels.do_annotations | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,6 @@ <h2>Installing</h2> | |
|
||
<p><pre class='syntax'> | ||
<span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">annotate_models</span> | ||
<span class="ident">sake</span> <span class="punct">-</span><span class="ident">i</span> <span class="ident">http</span><span class="punct">:/</span><span class="regex"></span><span class="punct">/</span><span class="ident">github</span><span class="punct">.</span><span class="ident">com</span><span class="punct">/</span><span class="ident">ctran</span><span class="punct">/</span><span class="ident">annotate_models</span><span class="punct">/</span><span class="ident">tree</span><span class="punct">/</span><span class="ident">master</span><span class="punct">/</span><span class="ident">tasks</span><span class="punct">/</span><span class="ident">deployment</span><span class="punct">.</span><span class="ident">rake?raw</span><span class="punct">=</span><span class="constant">true</span> | ||
</pre></p> | ||
|
||
|
||
|
@@ -55,13 +54,13 @@ <h2>The basics | |
|
||
|
||
<p>This was created by Dave Thomas as a Rails plugin. | ||
This is now a gem that can be used together with <a href="http://errtheblog.com/posts/60-sake-bomb">Sake</a></p> | ||
This is now a gem that can run from command line</p> | ||
|
||
|
||
<h2>Demonstration of usage</h2> | ||
|
||
|
||
<p>Go to your <span class="caps">RAILS</span>_ROOT dir, then run <code>sake annotate_models</code></p> | ||
<p>Go to your <span class="caps">RAILS</span>_ROOT dir, then run <code>annotate</code></p> | ||
|
||
|
||
<h2>How to submit patches</h2> | ||
|
@@ -87,7 +86,7 @@ <h2>Contact</h2> | |
|
||
<p>Comments are welcome. Send an email to <a href="mailto:[email protected]">Cuong Tran</a></p> | ||
<p class="coda"> | ||
<a href="[email protected]">Cuong Tran</a>, 28th February 2008<br> | ||
<a href="[email protected]">Cuong Tran</a>, 29th February 2008<br> | ||
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a> | ||
</p> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters