markdown/readme/Rakefile in debug_helper-1.5.0 vs markdown/readme/Rakefile in debug_helper-1.6.0
- old
+ new
@@ -3,10 +3,16 @@
namespace :build do
desc 'Build README.md'
task :readme do
# Make output files.
+ Dir.chdir('options/depth') do
+ command = 'ruby show.rb > show.yaml'
+ system(command)
+ command = 'markdown_helper include --pristine template.md show.md'
+ system(command)
+ end
class_dir_names = nil
Dir.chdir('classes') do
class_names = %w/
Array
Hash
@@ -19,12 +25,12 @@
class_dir_names.each do |class_dir_name|
Dir.chdir(class_dir_name) do
case_dir_names = Dir.glob('*').select {|f| File.directory? f}
case_dir_names.each do |case_dir_name|
Dir.chdir(case_dir_name) do
- command = "ruby show.rb > show.yaml"
+ command = 'ruby show.rb > show.yaml'
system(command)
- command = "markdown_helper include --pristine template.md show.md"
+ command = 'markdown_helper include --pristine template.md show.md'
system(command)
end
end
end
end
\ No newline at end of file