install yardoc database

This commit is contained in:
Watson
2012-11-14 11:39:20 +09:00
parent bf850563d0
commit 950b7e793e

View File

@@ -118,6 +118,14 @@ task :install do
ln_sf destpath, File.join(bindir, File.basename(path))
end
if File.exists?("vm/.yardoc")
docdir = File.join(motiondir, '/doc')
mkdir_p docdir
cp_r "vm/.yardoc", docdir
rm_rf "#{docdir}/yardoc"
mv "#{docdir}/.yardoc", "#{docdir}/yardoc"
end
=begin
# Gems (only for beta).
gemsdir = File.join(destmotiondir, 'gems')