Closed matthewmcgarvey closed 2 years ago
This is one of the last parts to making Avram optional in Lucky. The code removed from here will be moved to avram https://github.com/luckyframework/avram/pull/772 The moved code will be accessible to apps by adding additional requires and the lucky_cli change can be found here https://github.com/luckyframework/lucky_cli/pull/711
This whole thing is a breaking change but in a minor way. Currently, having require "lucky" in your code pulled in all this code and also brought in avram. To get the same functionality, code will need to be updated to
require "lucky"
require "lucky" require "avram" require "avram/lucky"
And then the tasks will also need to be imported in your tasks.cr file
tasks.cr
require "avram/lucky/tasks"
This is one of the last parts to making Avram optional in Lucky. The code removed from here will be moved to avram https://github.com/luckyframework/avram/pull/772 The moved code will be accessible to apps by adding additional requires and the lucky_cli change can be found here https://github.com/luckyframework/lucky_cli/pull/711
This whole thing is a breaking change but in a minor way. Currently, having
require "lucky"
in your code pulled in all this code and also brought in avram. To get the same functionality, code will need to be updated toAnd then the tasks will also need to be imported in your
tasks.cr
file