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 a way to set non-boolean build settings. #10

Merged

Conversation

StephanPartzsch
Copy link
Contributor

Hi!
As discussed on Twitter, I am here now with the pull request.
I added a way to set non-boolean build settings with Crafter. Although the way via 'options' is somehow redundant, I kept it because Crafter is a library and I don't want to force any user to change their configuration files.
Here is an example how to use it in the config:
set_build_settings ({
:'OTHER_CFLAGS' => '-Wall'
})
I added a few checks too. In case someone wan't use 'options' or 'build_settings' in the config file.
Hope that is all ok with you.

Best,
Stephan

Example:
set_build_settings ({
    :'OTHER_CFLAGS' => '-Wall'
})
@StephanPartzsch
Copy link
Contributor Author

Oh, I forgot: I have not changed the gemspec. So versioning and stuff is for you ;)

krzysztofzablocki pushed a commit that referenced this pull request Aug 11, 2014
Adds a way to set non-boolean build settings.
@krzysztofzablocki krzysztofzablocki merged commit 5e51ba8 into krzysztofzablocki:master Aug 11, 2014
@krzysztofzablocki
Copy link
Owner

Thank you ;)

@StephanPartzsch
Copy link
Contributor Author

you're welcome ;)

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.

None yet

2 participants