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

make compilation an environmental flag, not the default #7

Merged
merged 2 commits into from
Jul 25, 2017

Conversation

veverkap
Copy link
Contributor

Our CI runs are slowing down unnecessarily because of the compilation step.

In our case, compilation is actually unneeded because we mix do deps.get, compile earlier in the build.

Could we switch to having an environmental flag to toggle this?

@BlakeWilliams
Copy link

Nice, sobelow looks awesome. 👍

@@ -10,7 +10,7 @@ def initialize(_, _)
def run
return [] unless @patches

compile
compile if ENV["PRONTO_CREDO_COMPILE"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great! could you add a value to verify? for example: compile if(ENV["PRONTO_CREDO_COMPILE"] == 1)

@carakan
Copy link
Owner

carakan commented Jul 25, 2017

cool feature @veverkap I added one suggestion, let me know if is possible to make this change.

@veverkap
Copy link
Contributor Author

@carakan yes, added the change

@carakan carakan merged commit a9b8bce into carakan:master Jul 25, 2017
@veverkap
Copy link
Contributor Author

👍

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.

3 participants