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

Prevent ameba from being installed during postinstall #736

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

jwoertink
Copy link
Member

Ref: luckyframework/lucky#1524

Since Lucky includes Avram as a dependency, when you install Lucky, it runs Avram's postinstall script which in turn will run shards build from the avram project. This command will install the development_dependencies.

To fix that, we add an ENV var to skip installing development shards. If that ENV var exists, then we install without development dependencies. You can still run ./script/precompile_tasks locally if you need.

@jwoertink jwoertink merged commit f365474 into master Oct 2, 2021
@jwoertink jwoertink deleted the issues/precompile_shards branch October 2, 2021 22:42
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