Skip to content

Commit c61c1b7

Browse files
committed
Change rake task descriptions
1 parent 8f29683 commit c61c1b7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Rakefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ task :generate do
3434
Rake::Task[:build].invoke
3535
end
3636

37-
desc "Serves the Jekyll site locally"
37+
desc "Serve the Jekyll site locally"
3838
task :serve do
3939
sh "rackup config.ru"
4040
end
@@ -77,7 +77,7 @@ namespace :new_post do
7777
end
7878
end
7979

80-
desc "Creates a news post template for language `lang'"
80+
desc "Create a news post template for language `lang'"
8181
task :lang do
8282
puts 'Please specify one of the valid language codes:'
8383
puts LANGUAGES.join(', ') << '.'
@@ -117,7 +117,7 @@ namespace :check do
117117
date ? date.getutc.strftime('%Y/%m/%d') : nil
118118
end
119119

120-
desc "Checks for missing author variables in news posts"
120+
desc "Check for missing author variables in news posts"
121121
task :author do
122122
print "Checking for missing author variables in news posts..."
123123

@@ -132,7 +132,7 @@ namespace :check do
132132
end
133133
end
134134

135-
desc "Checks for missing lang variables in markdown files"
135+
desc "Check for missing lang variables in markdown files"
136136
task :lang do
137137
print "Checking for missing lang variables in markdown files..."
138138

@@ -152,7 +152,7 @@ namespace :check do
152152
end
153153
end
154154

155-
desc "Checks publication dates (UTC) for consistency with filename"
155+
desc "Check publication dates (UTC) for consistency with filename"
156156
task :pubdates do
157157
print "Checking for date mismatch in posts (filename / YAML front matter)..."
158158

@@ -176,7 +176,7 @@ namespace :check do
176176

177177
localport = 9292
178178

179-
desc "Checks for broken links on http://localhost:#{localport}/"
179+
desc "Check for broken links on http://localhost:#{localport}/"
180180
task :links do
181181
gem 'spidr', '~> 0.4'
182182
require 'spidr'
@@ -213,7 +213,7 @@ namespace :check do
213213
end
214214
end
215215

216-
desc 'validate _site markup with validate-website'
216+
desc 'Validate _site markup with validate-website'
217217
task :markup => :build do
218218
require 'jekyll'
219219
options = Jekyll.configuration
@@ -224,5 +224,5 @@ namespace :check do
224224
end
225225
end
226226

227-
desc "Carries out some tests"
227+
desc "Run some tests (lang, author, pubdates)"
228228
task :check => ['check:lang', 'check:author', 'check:pubdates']

0 commit comments

Comments
 (0)