GithubHelp home page GithubHelp logo

dheerendrarathor / arcanist-android-lint Goto Github PK

View Code? Open in Web Editor NEW
11.0 5.0 5.0 14 KB

Android lint rule for phabricator arcanist. It includes findbugs, checkstyle and pmd configurations with gradle lint.

PHP 100.00%
phabricator phabricator-arcanist arcanist linter android-lint-rule php

arcanist-android-lint's People

Contributors

dheerendrarathor avatar greedbell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

arcanist-android-lint's Issues

error executting gradle command

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


Gradle 2.10

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

gradle_scripts directory purpose?

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.

how to run arc lint?

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')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.