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:
parent
015f0cff61
commit
5c09bf1b82
1 changed files with 5 additions and 0 deletions
5
Rakefile
5
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'
|
||||
|
|
Loading…
Reference in a new issue