mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-05 22:40:25 +08:00
install yardoc database
This commit is contained in:
8
Rakefile
8
Rakefile
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user