Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default support for crystalline #807

Open
notramo opened this issue Jun 21, 2023 · 0 comments
Open

Add default support for crystalline #807

notramo opened this issue Jun 21, 2023 · 0 comments

Comments

@notramo
Copy link

notramo commented Jun 21, 2023

With the default settings, crystalline doesn't work on a bunch of files. This can be solved by adding a .crystalline_main.cr where the necessary files are imported.

elbywan/crystalline#67

Suggested solution

Add the following to the default shards.yml file:

crystalline:
  main: .crystalline_main.cr

And add this to the .crystalline_main.cr file in the project root:

require "./src/start_server.cr"
require "./db/**"
require "./tasks.cr"
@notramo notramo added the bug label Jun 21, 2023
@jwoertink jwoertink removed the bug label Jun 21, 2023
@jwoertink jwoertink transferred this issue from luckyframework/lucky Jun 21, 2023
@jwoertink jwoertink changed the title crystalline can't find classes Add default support for crystalline Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants