Rakefile in blacklight-spotlight-0.2.0 vs Rakefile in blacklight-spotlight-0.3.0
- old
+ new
@@ -22,10 +22,12 @@
RSpec::Core::RakeTask.new(:spec)
require 'jettywrapper'
require 'engine_cart/rake_task'
+EngineCart.fingerprint_proc = EngineCart.rails_fingerprint_proc
+
require 'spotlight/version'
EngineCart.fingerprint = Spotlight::VERSION
task :ci => ['engine_cart:generate', 'jetty:clean', 'spotlight:configure_jetty'] do
ENV['environment'] = "test"
jetty_params = Jettywrapper.load_config
@@ -55,16 +57,10 @@
abort "Error running fixtures" unless $?.success?
end
end
task :server do
- if File.exists? 'spec/internal'
- within_test_app do
- system "bundle update"
- end
- else
- Rake::Task['engine_cart:generate'].invoke
- end
+ Rake::Task['engine_cart:generate'].invoke
unless File.exists? 'jetty'
Rake::Task['jetty:clean'].invoke
Rake::Task['spotlight:configure_jetty'].invoke
end