aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2010-10-19 17:51:18 -0700
committerAndre Arko <andre@arko.net>2010-10-19 17:51:18 -0700
commit2c82b5ea25701685fb8d37b25c36864261c808ce (patch)
tree80977a020bb0deaf5353207c4863648b8adc1e62 /Rakefile
parent80c8324c263c3e0a23299f8e93534434bc75e53b (diff)
downloadbundler-2c82b5ea25701685fb8d37b25c36864261c808ce.tar.gz
Better names for manpage tasks
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Rakefile b/Rakefile
index 89f387a8..a8fdc7ab 100644
--- a/Rakefile
+++ b/Rakefile
@@ -16,7 +16,7 @@ begin
t.rspec_opts = %w(-fs --color)
t.ruby_opts = %w(-w)
end
- task :spec => :build
+ task :spec => "man:build"
namespace :ci do
desc "Run specs without color"
@@ -24,7 +24,7 @@ begin
t.rspec_opts = %w(-fs)
t.ruby_opts = %w(-w)
end
- task :spec => :build
+ task :spec => "man:build"
end
namespace :spec do
@@ -121,11 +121,11 @@ namespace :man do
sh "groff -Wall -mtty-char -mandoc -Tascii #{roff} | col -b > #{roff}.txt"
end
- task :build_pages => "#{roff}.txt"
+ task :build_all_pages => "#{roff}.txt"
end
desc "Build the man pages"
- task :build => "man:build_pages"
+ task :build => "man:build_all_pages"
desc "Clean up from the built man pages"
task :clean do
@@ -147,6 +147,4 @@ namespace :vendor do
end
end
-task :build => "man:build"
-
task :default => :spec