Sha256: 7240d4373fdf4b2bb97c49233f2bf6ac9cb868b276a4e3aef287c8d5c382dc91

Contents?: true

Size: 631 Bytes

Versions: 22

Compression:

Stored size: 631 Bytes

Contents

require "bundler/setup"
require "bundler/gem_tasks"
require "rake/testtask"

APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
load "rails/tasks/engine.rake"
load "rails/tasks/statistics.rake"

Rake::TestTask.new do |test|
  test.libs << "test"
  test.test_files = FileList["test/**/*_test.rb"]
end

task :test_prereq do
  puts "Installing Ruby dependencies"
  `bundle install`

  puts "Installing JavaScript dependencies"
  `yarn install`

  puts "Building JavaScript"
  `yarn build`

  puts "Preparing test database"
  `cd test/dummy; ./bin/rails db:test:prepare; cd ../..`
end

task default: [:test_prereq, :test]

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
turbo-rails-1.5.0 Rakefile
turbo-rails-1.4.0 Rakefile