Skip to content

Add default support for crystalline #807

Description

@notramo

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.

https://github.com/elbywan/crystalline/issues/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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions