# frozen_string_literal: true

$LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), 'app'))

require 'indicina/constants'
require 'rom/sql/rake_task'

namespace :db do
  task :setup do
    require 'rom'
    ROM::SQL::RakeSupport.env = ROM.container(:sql, Indicina::DB_PATH)
  end
end