loadsmart / danger-android_lint

A Danger plugin for Android Lint
https://developer.android.com/studio/write/lint.html
MIT License
55 stars 24 forks source link

run from parent directory #12

Closed mshearer123 closed 6 years ago

mshearer123 commented 6 years ago

I would like to run Danger form a directory one level up form my android project. Is there anyway to tell danger android lint where the android project is, so it can find gradlew?

I can move the Dangerfile into the android project but I then get a ruby-git error - something like ArgumentError exception claiming the path does not exists

Similar sort of problem as https://github.com/danger/danger/issues/219

hanspeide commented 6 years ago

Did you find a solution to this? If not I'll make a pull request, where it's possible to specify the root of the Android project.