scribe/tasks.cr

12 lines
236 B
Crystal
Raw Normal View History

2021-05-01 23:02:08 +02:00
# https://luckyframework.org/guides/command-line-tasks/custom-tasks
ENV["LUCKY_TASK"] = "true"
require "./src/app"
require "lucky_task"
require "./tasks/**"
require "./db/migrations/**"
require "lucky/tasks/**"
LuckyTask::Runner.run