diff --git a/Rakefile b/Rakefile index b2abf66b..736ff1ba 100644 --- a/Rakefile +++ b/Rakefile @@ -67,6 +67,7 @@ unless ARGV[0] == 'benchmark' It was originally envisioned as a plugin for Ruby on Rails, but it can function as a stand-alone templating engine. END + #' readmes = FileList.new('*') do |list| list.exclude(/[a-z]/) @@ -93,6 +94,10 @@ unless ARGV[0] == 'benchmark' pkg.need_tar_bz2 = true end + task :install => [:package] do + sh %{sudo gem install pkg/haml-#{File.read('VERSION').strip}} + end + # ----- Documentation ----- require 'rake/rdoctask'