1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Added an install task to the Rakefiles in trunk and stable.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@615 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2007-11-17 09:19:17 +00:00
parent 015f0cff61
commit 5c09bf1b82

View file

@ -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'