Permalink
Browse files

Add 'rake libxml:version', because I'm lazy.

  • Loading branch information...
1 parent 1aaf2b1 commit 564386024b8ff3597261311dec6261c79d3e9698 @jbarnette jbarnette committed Feb 3, 2009
Showing with 7 additions and 0 deletions.
  1. +7 −0 Rakefile
View
@@ -33,6 +33,13 @@ HOE = Hoe.new('nokogiri', Nokogiri::VERSION) do |p|
p.spec_extras = { :extensions => ["ext/nokogiri/extconf.rb"] }
end
+namespace :libxml do
+ desc "What version of LibXML are we building against?"
+ task :version => :build do
+ sh "ruby -Ilib:ext -rnokogiri -e 'puts Nokogiri::LIBXML_VERSION'"
+ end
+end
+
namespace :gem do
namespace :dev do
task :spec do

0 comments on commit 5643860

Please sign in to comment.