Skip to content

Commit

Permalink
Merge pull request #1302 from hortongn/blacklight-server-option
Browse files Browse the repository at this point in the history
Allow arguments to be passed to blacklight:server rake task
  • Loading branch information
jcoyne committed Nov 6, 2015
2 parents 6dcf39f + 73e044d commit 7357b58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/blacklight.rake
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace :blacklight do
end

desc 'Run Solr and Blacklight for interactive development'
task :server do
task :server, [:rails_server_args] do |t, args|
if File.exists? EngineCart.destination
within_test_app do
system "bundle update"
Expand All @@ -56,7 +56,7 @@ namespace :blacklight do
Rake::Task['blacklight:internal:seed'].invoke

within_test_app do
system "bundle exec rails s"
system "bundle exec rails s #{args[:rails_server_args]}"
end
end
end
Expand Down

0 comments on commit 7357b58

Please sign in to comment.