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