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

Support for resource value files #19

Merged
merged 2 commits into from
Aug 15, 2023
Merged

Conversation

dbnicholson
Copy link
Member

Add the --res-values options to specify resource value files to copy to src/main/res/values in the dist directory. This allows customizing styles.xml and colors.xml, for example.

dbnicholson and others added 2 commits August 14, 2023 12:58
Add the --res-values options to specify resource value files to copy to
`src/main/res/values` in the dist directory. This allows customizing
`styles.xml` and `colors.xml`, for example.
The errors were:
```
pythonforandroid/bootstrap.py:136:5: F811 redefinition of unused 'name' from line 73
pythonforandroid/build.py:111:5: F811 redefinition of unused 'libs_dir' from line 82
pythonforandroid/build.py:127:5: F811 redefinition of unused 'aars_dir' from line 83
pythonforandroid/graph.py:48:12: E721 do not compare types, for exact checks use `is`
pythonforandroid/graph.py:163:20: E721 do not compare types, for exact checks use `is`
tests/test_build.py:39:41: E231 missing whitespace after ','
tests/test_build.py:40:58: E231 missing whitespace after ','
tests/test_build.py:41:61: E231 missing whitespace after ','
tests/test_build.py:42:71: E231 missing whitespace after ','
```

(cherry picked from commit be650bc)
@coveralls
Copy link

coveralls commented Aug 14, 2023

Pull Request Test Coverage Report for Build 5859773563

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.01%) to 60.802%

Files with Coverage Reduction New Missed Lines %
pythonforandroid/pythonpackage.py 1 57.23%
Totals Coverage Status
Change from base Build 5071716701: -0.01%
Covered Lines: 4507
Relevant Lines: 6854

💛 - Coveralls

@starnight
Copy link

LGTM!

@starnight starnight merged commit a6b461a into 2022.09.04-endless Aug 15, 2023
@starnight starnight deleted the res-values branch August 15, 2023 03:31
@starnight starnight self-requested a review August 15, 2023 03:31
@dbnicholson
Copy link
Member Author

Thanks! I tagged this as v2022.09.04-endless11 so it could be used in the android app.

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.

4 participants