You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2021/07/25 16:15:02 UTC
[whimsy] branch master updated: Only want whimsy dir,
not test or spec
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 6fd236e Only want whimsy dir, not test or spec
6fd236e is described below
commit 6fd236e09b88e607eb67f221bc165110f3c341eb
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jul 25 17:14:53 2021 +0100
Only want whimsy dir, not test or spec
---
Rakefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Rakefile b/Rakefile
index eb706ee..a533dea 100644
--- a/Rakefile
+++ b/Rakefile
@@ -353,8 +353,10 @@ end
# update documentation
task :rdoc => 'www/docs/api/index.html'
-file 'www/docs/api/index.html' => Rake::FileList['lib/**/*.rb'] do
- system('rdoc', 'lib', '--output', 'www/docs/api', '--force-output',
+file 'www/docs/api/index.html' => Rake::FileList['lib/whimsy/**/*.rb'] do
+ # remove old files first
+ FileUtils.remove_dir(File.join(File.dirname(__FILE__),'www/docs/api'))
+ system('rdoc', 'lib/whimsy', '--output', 'www/docs/api', '--force-output',
'--title', 'whimsy/asf lib', {chdir: File.dirname(__FILE__)})
end