Tasks file generator generates a broken tasks file
jwoertink opened this issue · comments
I've seen this file a lot of times, but I've never really taken the time to read the code...
https://github.com/luckyframework/lucky_cli/blob/master/src/generators/tasks_file.cr
It generates a tasks.cr
file for you which will actually overwrite your current tasks.cr
file if you have one... The one it currently generates doesn't work anyway because it requires "lucky_cli"
instead of "lucky_task"
. It seems we missed that line in #622
lucky_cli/src/generators/tasks_file.cr
Line 14 in a5a3f4b
Also, when you run lucky -h
which gives you a list of tasks you can run lucky gen.tasks_file
is not one of them 😅 I'm gonna guess no one uses this... Do we even need it? 🤔