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

Building in debug and coverage when issuing the proper env variables #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

filipecosta90
Copy link

Hi there @antirez , this PR enables building rax in debug and coverage modes by passing DEBUG=1 COV=1 environment variables.

The reason I opened this PR was that the DEBUG variable within the makefile is to generic and can lead to potential build issues on repos that use rax as a dependency. The following build command on a project ( named myproject ) that relies on rax would not generate a successfull rax build if the parent project uses DEBUG=1 as a normal way to build debug binaries.

project1: make DEBUG=1 myproject
this would also trigger the build o rax that would fail due to DEBUG flags being now overriden by 1.
Given that this is a common pratice (use DEBUG=1 env variable ) would you swith to this? wdyt?

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