Changeset 202
- Timestamp:
- 09/19/2007 05:50:30 (15 months ago)
- Files:
-
- 1 modified
-
trunk/Rakefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Rakefile
r177 r202 10 10 REV = File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil 11 11 VERS = ENV['VERSION'] || ("1.5" + (REV ? ".#{REV}" : "")) 12 CLEAN.include ['**/.*.sw?', '*.gem', '.config', 'test/test.log' ]12 CLEAN.include ['**/.*.sw?', '*.gem', '.config', 'test/test.log', '.*.pt'] 13 13 RDOC_OPTS = ['--quiet', '--title', "Camping, the Documentation", 14 14 "--opname", "index.html", … … 116 116 # t.verbose = true 117 117 end 118 119 desc "Compare camping and camping-unabridged parse trees" 120 task :diff do 121 if `which parse_tree_show`.strip.empty? 122 STDERR.puts "ERROR: parse_tree_show missing : `gem install ParseTree`" 123 exit 1 124 end 125 126 sh "parse_tree_show lib/camping.rb > .camping.pt" 127 sh "parse_tree_show lib/camping-unabridged.rb > .camping-unabridged.pt" 128 sh "diff -u .camping-unabridged.pt .camping.pt | less" 129 end 130
