Permalink
Browse files

Fix bug that prevented buildfile from loading rake tasks when you sta…

…rted outside of the abbot direcory
  • Loading branch information...
1 parent a9a37cd commit 818663339200dba71b65b9b8b96c4cfdbdb26338 Charles Jolley committed Jan 17, 2009
Showing with 3 additions and 2 deletions.
  1. +1 −1 Buildfile
  2. +2 −1 buildtasks/build.rake
View
2 Buildfile
@@ -1,5 +1,5 @@
# Import all build tasks
-import *Dir.glob(File.join(File.dirname(__FILE__), 'buildtasks', '**', '*.rake'))
+import *Dir.glob(File.join(File.dirname(current_path), 'buildtasks', '**', '*.rake'))
mode :all do
config :all,
View
3 buildtasks/build.rake
@@ -4,7 +4,8 @@
# ===========================================================================
# Tasks invoked while building Target objects. You can override these methods
-# in your buildfiles.
+# in your buildfiles. You can also define new builders and assign them to
+# manifest entries if you also override/extend manifest:build.
namespace :build do
desc "copies a single resource"

0 comments on commit 8186633

Please sign in to comment.