Sha256: 5706cc1fb56535d59326c106909d1a864fc8b7ef0f887884178ca6d6faf07500
Contents?: true
Size: 846 Bytes
Versions: 14
Compression:
Stored size: 846 Bytes
Contents
#!/usr/bin/env rake # frozen_string_literal: true begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end Bundler::GemHelper.install_tasks import "#{Gem.loaded_specs['jasmine'].full_gem_path}/lib/jasmine/tasks/jasmine.rake" # Set up the test application prior to running jasmine tasks. task 'jasmine:require' => :setup_test_server task :setup_test_server do require 'engine_cart' EngineCart.load_application! end Dir.glob('tasks/*.rake').each { |r| import r } task default: :ci # Load the test app's rake tasks so they can be run from the app namespace (e.g. app:db:migrate) if File.exist?(File.expand_path(".internal_test_app/Rakefile", __dir__)) APP_RAKEFILE = File.expand_path(".internal_test_app/Rakefile", __dir__) load 'rails/tasks/engine.rake' end
Version data entries
14 entries across 14 versions & 1 rubygems