Permalink
Browse files

updted rake files to work when parent directory structure does not exist

git-svn-id: http://atomicobjectrb.rubyforge.org/svn/trunk/publisher@86 7bd720c3-caf9-44c9-a48d-612f81e63739
  • Loading branch information...
1 parent 3e34f7e commit c470c7fa8bb4e44218bcf275ed1ad05a4ae953f6 dewind committed Mar 18, 2008
Showing with 7 additions and 6 deletions.
  1. +7 −6 Rakefile
View
@@ -26,10 +26,11 @@ Hoe.new('publisher', Publisher::VERSION) do |p|
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
end
-load "../tools/tasks/homepage.rake"
-
-load "../tools/tasks/release_tagging.rake"
-ReleaseTagging.new do |t|
- t.package = "publisher"
- t.version = Publisher::VERSION
+if File.exists?("../tools/")
+ load "../tools/tasks/homepage.rake"
+ load "../tools/tasks/release_tagging.rake"
+ ReleaseTagging.new do |t|
+ t.package = "publisher"
+ t.version = Publisher::VERSION
+ end
end

0 comments on commit c470c7f

Please sign in to comment.