summaryrefslogtreecommitdiffstats
path: root/tasks
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-22 09:01:11 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-30 10:47:42 +0200
commit86677eadc770acc9f4da183e515045dd6ba51618 (patch)
tree3d0f8faddb7b74a594dd1db135af9199ff898bc4 /tasks
parent86ed08ce792951096d202c578d2e862fcbcb553d (diff)
downloadskeletons-86677eadc770acc9f4da183e515045dd6ba51618.zip
skeletons-86677eadc770acc9f4da183e515045dd6ba51618.tar.gz
remove trailing spaces
Diffstat (limited to 'tasks')
-rw-r--r--tasks/gem.rake2
-rw-r--r--tasks/helpers.rb2
-rw-r--r--tasks/rdoc.rake6
3 files changed, 5 insertions, 5 deletions
diff --git a/tasks/gem.rake b/tasks/gem.rake
index a3e76f3..e5e5d13 100644
--- a/tasks/gem.rake
+++ b/tasks/gem.rake
@@ -77,7 +77,7 @@ class GemPackageTask < Rake::PackageTask
end
end
end
-
+
def gem_file
if @gem_spec.platform == Gem::Platform::RUBY
"#{package_name}.gem"
diff --git a/tasks/helpers.rb b/tasks/helpers.rb
index b43117a..df5bd50 100644
--- a/tasks/helpers.rb
+++ b/tasks/helpers.rb
@@ -89,7 +89,7 @@ end
# files = []
# exclude = PROJ.exclude.dup
# comment = %r/^\s*#/
-#
+#
# # process the ignore file and add the items there to the exclude list
# if test(?f, PROJ.ignore_file)
# ary = []
diff --git a/tasks/rdoc.rake b/tasks/rdoc.rake
index cd47caa..98ef3b8 100644
--- a/tasks/rdoc.rake
+++ b/tasks/rdoc.rake
@@ -8,7 +8,7 @@ namespace :doc do
rdoc = PROJ.rdoc
rd.main = rdoc.main
rd.rdoc_dir = rdoc.dir
-
+
incl = Regexp.new(rdoc.include.join('|'))
excl = Regexp.new(rdoc.exclude.join('|'))
files = PROJ.gem.files.find_all do |fn|
@@ -24,12 +24,12 @@ namespace :doc do
rd.options << "-t #{title}"
rd.options.concat(rdoc.opts)
end
-
+
desc 'Generate ri locally for testing'
task :ri => :clobber_ri do
sh "#{RDOC} --ri -o ri ."
end
-
+
task :clobber_ri do
rm_r 'ri' rescue nil
end