Rakefile in ParseTree-1.5.0 vs Rakefile in ParseTree-1.6.0

- old
+ new

@@ -6,11 +6,12 @@ $: << "../../RubyInline/dev" require './lib/parse_tree.rb' Hoe.new("ParseTree", ParseTree::VERSION) do |p| p.summary = "Extract and enumerate ruby parse trees." - p.description = File.read("README.txt").split(/\n\n+/)[2] + p.description = p.paragraphs_of("README.txt", 2).join("\n\n") + p.changes = p.paragraphs_of("History.txt", 1).join("\n\n") p.clean_globs << File.expand_path("~/.ruby_inline") p.extra_deps << ['RubyInline', '>= 3.2.0'] end desc 'Run against ruby 1.9 (from a multiruby install) with -d.' @@ -25,6 +26,14 @@ end desc 'Run a very basic demo' task :demo do sh "echo 1+1 | ruby #{Hoe::RUBY_FLAGS} ./bin/parse_tree_show -f" +end + +desc 'Show what tests are not sorted' +task :sort do + sh "pgrep '^ \\\"(\\w+)' test/pt_testcase.rb | cut -f 2 -d\\\" > x" + sh "sort x > y" + sh "diff x y" + sh "rm -f x y" end