Skip to content

Commit

Permalink
HYDRA-661: only export tasks in lib/tasks/active_fedora.rake for exte…
Browse files Browse the repository at this point in the history
…rnal use
  • Loading branch information
cjcolvar committed Jan 18, 2012
1 parent 2def516 commit 24f5cc3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ require "active-fedora"

Bundler::GemHelper.install_tasks

# load rake tasks defined in lib/tasks
#Dir["lib/tasks/**/*.rake"].each { |ext| load ext } if defined?(Rake)
# load rake tasks defined in lib/tasks that are not loaded in lib/active_fedora.rb
load "lib/tasks/active_fedora_dev.rake" if defined?(Rake)

CLEAN.include %w[**/.DS_Store tmp *.log *.orig *.tmp **/*~]

Expand Down
2 changes: 1 addition & 1 deletion lib/active_fedora.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,6 @@ class UnregisteredPredicateError < RuntimeError; end

end

Dir[File.expand_path(File.join(File.dirname(__FILE__),"tasks/*.rake"))].each { |ext| load ext } if defined?(Rake)
load File.join(File.dirname(__FILE__),"tasks/active_fedora.rake") if defined?(Rake)


0 comments on commit 24f5cc3

Please sign in to comment.