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

adds src entry path and infers from shard.yml #61

Merged
merged 4 commits into from
Dec 17, 2021

Conversation

samueleaton
Copy link
Owner

notice in the following example how the entry path has /server/ in the directory structure. Before, Sentry would fail because it just defaulted to src/my_app.cr.

This change will be more flexible and will automatically pull in the src path from the targets object in the shard.yml file.

name: my_app
version: 0.1.0

authors:
  - Sam Eaton <sam@eaton.party>

targets:
  my_app:
    main: src/server/my_app.cr

crystal: 1.2.2

@samueleaton samueleaton merged commit e448ce8 into master Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant