Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
7f96c0c8
Commit
7f96c0c8
authored
Feb 29, 2008
by
Cuong Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor how rake tasks are loaded
parent
8dd25dcb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
2 deletions
+5
-2
Manifest.txt
Manifest.txt
+1
-0
annotate
bin/annotate
+1
-2
tasks.rb
lib/annotate_models/tasks.rb
+3
-0
annotate.rake
lib/tasks/annotate.rake
+0
-0
No files found.
Manifest.txt
View file @
7f96c0c8
...
@@ -7,6 +7,7 @@ config/hoe.rb
...
@@ -7,6 +7,7 @@ config/hoe.rb
config/requirements.rb
config/requirements.rb
lib/annotate_models.rb
lib/annotate_models.rb
lib/annotate_models/version.rb
lib/annotate_models/version.rb
lib/annotate_models/tasks.rb
log/debug.log
log/debug.log
script/destroy
script/destroy
script/generate
script/generate
...
...
bin/annotate
View file @
7f96c0c8
#!/usr/bin/env ruby
#!/usr/bin/env ruby
load
'Rakefile'
require
'annotate_models/tasks'
require
'tasks/annotate'
Rake
::
Task
[
'annotate_models'
].
invoke
Rake
::
Task
[
'annotate_models'
].
invoke
lib/annotate_models/tasks.rb
0 → 100644
View file @
7f96c0c8
load
'Rakefile'
Dir
[
File
.
join
(
File
.
dirname
(
__FILE__
),
'../tasks'
,
'**/*.rake'
)].
each
{
|
rake
|
load
rake
}
\ No newline at end of file
lib/tasks/annotate.r
b
→
lib/tasks/annotate.r
ake
View file @
7f96c0c8
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment