Update rakefile

This commit is contained in:
2023-05-10 21:32:49 +10:00
parent 77c6a03296
commit c5c23ea4a9

View File

@@ -1,10 +1,13 @@
# frozen_string_literal: true
require "dotenv"
require "hanami/rake_tasks"
namespace :blog do
task :load_from_letterboxd do
require "hanami/boot"
Dotenv::Parser.call(`cat .env.production`)
require "hanami/prepare"
require "scraperd"
client = Scraperd::Base.new