# Copyright 2021 Google LLC
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.

require_relative "config/environment"
require "sinatra/activerecord/rake"

desc "Runs benchmarks against a Cloud Spanner database."
task :run do |_t, _args|
  sh "rake db:migrate"
  sh "ruby application.rb"
end
