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

add support for build "flavors" #126

Merged
merged 3 commits into from Mar 3, 2019
Merged

add support for build "flavors" #126

merged 3 commits into from Mar 3, 2019

Conversation

pazos
Copy link
Member

@pazos pazos commented Mar 2, 2019

So we can check the flavor at runtime and have different behaviour based on that (ie: ota updates)

@pazos pazos requested a review from Frenzie March 2, 2019 12:25
Copy link
Member

@Frenzie Frenzie left a comment

Choose a reason for hiding this comment

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

lgtm (didn't test)

# Defaults
NAME?=1.5
VERSION?=5
FLAVOR?="rocks"
Copy link
Member

Choose a reason for hiding this comment

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

lol, what?

Copy link
Member Author

Choose a reason for hiding this comment

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

the strings.xml look cool now:

    <string name="app_name">KOReader</string>
    <string name="app_flavor">rocks</string>

I'm open to change default flavor 👍

Copy link
Member

Choose a reason for hiding this comment

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

Works for me. ;-)

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