11 lines
236 B
Crystal
11 lines
236 B
Crystal
# 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
|