Skip to content
This repository has been archived by the owner on Jun 27, 2020. It is now read-only.

Commit

Permalink
Added rake db:test:prepare to Travis before_script list; removed dul_…
Browse files Browse the repository at this point in the history
…hydra:config rake task
  • Loading branch information
dchandekstark committed Jun 10, 2013
1 parent 592c6c0 commit 5a167ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ before_script:
- "cp config/log4r.yml.sample config/log4r.yml"
- "cp config/log4r_fixity_check.yml.sample config/log4r_fixity_check.yml"
- "cp config/database.yml.sample config/database.yml"
- "rake db:test:prepare"
- "rake jetty:clean"
- "rake jetty:config"
script: "rake dul_hydra:ci"
Expand Down
11 changes: 0 additions & 11 deletions lib/tasks/dul_hydra.rake
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ namespace :dul_hydra do
Rake::Task['spec'].invoke
end
end
desc "Copy sample DULHydra config files into appropriate places"
task :config => :environment do
FileList['config/*.sample'].each do |f|
copy_to = f.sub(/\.sample$/, "")
if File.exists?(copy_to)
puts "Config file \"#{copy_to}\" exists, not overwriting."
else
cp(f, copy_to, :verbose => true)
end
end
end
namespace :admin_policies do
desc "Load admin policy objects from FILE_PATH"
task :load => :environment do
Expand Down

0 comments on commit 5a167ea

Please sign in to comment.