-
-
Notifications
You must be signed in to change notification settings - Fork 360
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 Android Linting Example #3931
base: main
Are you sure you want to change the base?
Conversation
@c0d33ngr looks good, need to include an example test and explanation so we can include it in the documentation |
@c0d33ngr Buddy you did just basic linting but this is not the appropriate way tbh i have tried this on my example and its saying the miss of class file but class files only come after the compilation so @lihaoyi i request you to please wait till my new pull request(anndroid bundle support) gets merged coz in that i have updated the whole android app building process and made it professional (now we can include custom resources) so @c0d33ngr sorry to interrupt you, but please understand... |
@himanshumahajan138 completing bounties out of order is fine. I'll look at your PR if you wish and we can decide which one to merge first |
Ya I Agree We can decide which one to merge first i was saying before becoz there will be need for updated code as you can see in my pr i have updated the codes with resources so that's the only thing i was concerned about rest we can decide this... |
@lihaoyi this command below produce the error output above. What could be wrong? |
@c0d33ngr the lint error should be fixed in latest main branch, if you merge in main it should work. Give me some time to do a proper review, I'm not familiar with android haha |
FYI I'm planning on landing #3935 first before coming back to this, since that one is a larger and more invasive PR so this one would be easier to rebase/merge after |
Took a review pass. Looks like a straightforward change but left a few nits |
I'll do the necessary changes and also include more features to it. I had to rewrite it as a module after looking through java linting in the codebase and also other android related modules |
I was ill so I couldn't resolve the issues pointed out from code review on time but I'm good now |
@c0d33ngr you'll have to figure it out. I'm not an expert in the Android toolchain and I won't have the ability to become one on short notice, so you'll need to learn enough about the toolchian figure out how to fit it into the Mill build convention |
I think this looks good. @0xnm I don't know if you want to glance over this before I merge it |
Hi @lihaoyi took a break off the issue fro sometime, now working on it I want to ask how to use
Got something like this as error
|
@c0d33ngr |
Okay thank you, trying it out |
@0xnm please review when less busy. I've done the changes you requested Also, to make use of
|
Hi @0xnm do you have any idea to why the lint cli tool couldn't spot the it? |
I suggest you to check the arguments you are calling |
Okay... I'll look into that What think of the PR any changes needed? |
Hi @0xnm , the suggestion you gave work. It was the You can review when less busy |
This is meant to to be a draft of item number 4 of issue #3868. The android linting
Hi @lihaoyi is this close to what you have in mind about the android linting or there's more?