Sha256: 7f87a89ef4b4729f7d7efdad427b8807b64f870b3773dfaa4b6319b6e1813069
Contents?: true
Size: 937 Bytes
Versions: 71
Compression:
Stored size: 937 Bytes
Contents
#!/usr/bin/env rake # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. # require File.expand_path('../config/application', __FILE__) # STDOUT.sync = true # TrustyCms::Application.load_tasks require 'pry' require 'byebug' require 'trustygems' # !/usr/bin/env rake begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end APP_RAKEFILE = File.expand_path('spec/dummy/Rakefile', __dir__) load 'rails/tasks/engine.rake' Bundler::GemHelper.install_tasks Dir[File.join(File.dirname(__FILE__), 'tasks/**/*.rake')].each { |f| load f } require 'rspec/core' require 'rspec/core/rake_task' desc 'Run all specs in spec directory (excluding plugin specs)' RSpec::Core::RakeTask.new(spec: 'app:db:test:prepare') task default: :spec # TrustyCms::Application.load_tasks
Version data entries
71 entries across 71 versions & 1 rubygems