Update rakefile
This commit is contained in:
5
Rakefile
5
Rakefile
@@ -1,10 +1,13 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "dotenv"
|
||||||
require "hanami/rake_tasks"
|
require "hanami/rake_tasks"
|
||||||
|
|
||||||
namespace :blog do
|
namespace :blog do
|
||||||
task :load_from_letterboxd do
|
task :load_from_letterboxd do
|
||||||
require "hanami/boot"
|
Dotenv::Parser.call(`cat .env.production`)
|
||||||
|
|
||||||
|
require "hanami/prepare"
|
||||||
require "scraperd"
|
require "scraperd"
|
||||||
|
|
||||||
client = Scraperd::Base.new
|
client = Scraperd::Base.new
|
||||||
|
Reference in New Issue
Block a user