dheerendrarathor / arcanist-android-lint Goto Github PK
View Code? Open in Web Editor NEWAndroid lint rule for phabricator arcanist. It includes findbugs, checkstyle and pmd configurations with gradle lint.
Android lint rule for phabricator arcanist. It includes findbugs, checkstyle and pmd configurations with gradle lint.
EXCEPTION: (PhutilAggregateException) Some linters failed:
- ArcanistUsageException: Error executing gradle command
- ArcanistUsageException: Error executing gradle command
- ArcanistUsageException: Error executing gradle command at [/src/lint/engine/ArcanistLintEngine.php:274]
arcanist(head=master, ref.master=3aa47195ef08), libarcandroid(head=master, ref.master=5e4ca4597f56), phutil(head=master, ref.master=9c03af69571f)
#0 <#2> ArcanistAndroidLinter::runGradle(string) called at [/lint/ArcanistAndroidLinter.php:132]
#1 <#2> ArcanistAndroidLinter::lintPath(string) called at [/src/lint/engine/ArcanistLintEngine.php:577]
#2 <#2> ArcanistLintEngine::executeLinterOnPaths(ArcanistAndroidLinter, array) called at [/src/lint/engine/ArcanistLintEngine.php:535]
#3 <#2> ArcanistLintEngine::executeLintersOnChunk(array, array) called at [/src/lint/engine/ArcanistLintEngine.php:473]
#4 <#2> ArcanistLintEngine::executeLinters(array) called at [/src/lint/engine/ArcanistLintEngine.php:216]
#5 ArcanistLintEngine::run() called at [/src/workflow/ArcanistLintWorkflow.php:334]
#6 ArcanistLintWorkflow::run() called at [/src/workflow/ArcanistDiffWorkflow.php:1266]
#7 ArcanistDiffWorkflow::runLint() called at [/src/workflow/ArcanistDiffWorkflow.php:1227]
#8 ArcanistDiffWorkflow::runLintUnit() called at [/src/workflow/ArcanistDiffWorkflow.php:483]
#9 ArcanistDiffWorkflow::run() called at [/scripts/arcanist.php:394]
i also have gradle
Rockss-iMac-9:CRMApp mercury-five$ gradle -v
Build time: 2015-12-21 21:15:04 UTC
Build number: none
Revision: 276bdcded730f53aa8c11b479986aafa58e124a6
Groovy: 2.4.4
Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013
JVM: 1.7.0_79 (Oracle Corporation 24.79-b02)
OS: Mac OS X 10.10.5 x86_64
Your last couple of lines in the README have
- Include `app/config` and `app/gradle_scripts` in your module root
...
- Edit your `app/build.gradle` and include these lines as per your requirements
- `apply from: 'gradle_scripts/checkstyle.gradle`
- `apply from: 'gradle_scripts/checkstyle.gradle'`
- `apply from: 'gradle_scripts/pmd.gradle'`
Are you saying that we need to move our existing gradle scripts into gradle_scripts
? Is this directory used anywhere else? I don't see it being referenced so I get the feeling that if our normal build.gradle works with wherever we defined our gradle scripts to be then we can do away with it.
I tried not putting my quality control gradle scripts in that directory and everything seems to work just fine.
i have done all setup but when i run arc lint command it show : (Usage Exception: No lint engine is configured for this project. Create an '.arclint' file, or configure an advanced engine with 'lint.engine' in '.arcconfig')
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.