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
f874c67f
Commit
f874c67f
authored
Jan 30, 2011
by
Weston Triemstra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
restore rakefile
parent
8eee1a70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
20 deletions
+23
-20
Rakefile
Rakefile
+23
-20
No files found.
Rakefile
View file @
f874c67f
require
'rubygems'
require
'rake'
require
'rake'
require
'
lib/annotate'
require
File
.
dirname
(
__FILE__
)
+
'/
lib/annotate'
# want other tests/tasks run by default? Add them to the list
# want other tests/tasks run by default? Add them to the list
task
:default
=>
[
:spec
]
task
:default
=>
[
:spec
]
...
@@ -8,39 +7,43 @@ task :default => [:spec]
...
@@ -8,39 +7,43 @@ task :default => [:spec]
begin
begin
require
'jeweler'
require
'jeweler'
Jeweler
::
Tasks
.
new
do
|
gem
|
Jeweler
::
Tasks
.
new
do
|
gem
|
gem
.
name
=
"annotate"
gem
.
name
=
"
netsign-
annotate"
gem
.
executables
=
"annotate"
gem
.
executables
=
"annotate"
gem
.
summary
=
"Annotates Rails Models, routes, fixtures, and others based on the database schema."
gem
.
summary
=
"Annotates Rails Models, routes, fixtures, and others based on the database schema."
gem
.
description
=
gem
.
summary
gem
.
description
=
"Packaged for netSIGN, gem experimentation"
gem
.
email
=
[
"alex@stinky.com"
,
'ctran@pragmaquest.com'
,
"x@nofxx.com"
]
gem
.
email
=
[
"alex@stinky.com"
,
'ctran@pragmaquest.com'
,
"x@nofxx.com"
]
gem
.
homepage
=
"http
://github.com/ctran/annotate
"
gem
.
homepage
=
"http
s://github.com/miyucy/annotate_models
"
gem
.
authors
=
[
'Cuong Tran'
,
"Alex Chaffee"
,
"Marcos Piccinini"
]
gem
.
authors
=
[
'Cuong Tran'
,
"Alex Chaffee"
,
"Marcos Piccinini"
]
gem
.
files
=
FileList
[
"[A-Z]*.*"
,
"{bin,lib,tasks,spec}/**/*"
]
gem
.
files
=
FileList
[
"[A-Z]*.*"
,
"{bin,lib,tasks,spec}/**/*"
]
gem
.
rubyforge_project
=
"annotate"
gem
.
rubyforge_project
=
"
netsign-
annotate"
# note that Jeweler automatically reads the version from VERSION.yml
# note that Jeweler automatically reads the version from VERSION.yml
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
end
# Jeweler::RubyforgeTasks.new do |rubyforge|
# rubyforge.doc_task = "rdoc"
# end
Jeweler
::
RubyforgeTasks
.
new
do
|
rubyforge
|
Jeweler
::
GemcutterTasks
.
new
rubyforge
.
doc_task
=
"rdoc"
end
rescue
LoadError
rescue
LoadError
puts
"Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
puts
"Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
end
require
'spec/rake/spectask'
# Dir["#{File.dirname(__FILE)}/tasks/*.rake"].sort.each { |ext| load ext }
Spec
::
Rake
::
SpecTask
.
new
(
:spec
)
do
|
spec
|
spec
.
libs
<<
'lib'
<<
'spec'
spec
.
spec_files
=
FileList
[
'spec/**/*_spec.rb'
]
end
Spec
::
Rake
::
SpecTask
.
new
(
:rcov
)
do
|
spec
|
# require 'spec/rake/spectask'
spec
.
libs
<<
'lib'
<<
'spec'
# Spec::Rake::SpecTask.new(:spec) do |spec|
spec
.
pattern
=
'spec/**/*_spec.rb'
# spec.libs << 'lib' << 'spec'
spec
.
rcov
=
true
# spec.spec_files = FileList['spec/**/*_spec.rb']
end
# end
#
# Spec::Rake::SpecTask.new(:rcov) do |spec|
# spec.libs << 'lib' << 'spec'
# spec.pattern = 'spec/**/*_spec.rb'
# spec.rcov = true
# end
require
'rake/rdoctask'
require
'rake/rdoctask'
Rake
::
RDocTask
.
new
do
|
rdoc
|
Rake
::
RDocTask
.
new
do
|
rdoc
|
...
...
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