Skip to content

Commit

Permalink
Added a lint rule ignoring the 'InvalidPackage' check for Robolectric
Browse files Browse the repository at this point in the history
- Fixes lint error caused by the IDE bug workaround in build.gradle
  • Loading branch information
aforcier committed Apr 10, 2015
1 parent 4c2f2d1 commit 5346958
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@

## Introduction ##

## Testing

Testing is done with the [Robolectric framework.](http://robolectric.org/) To run tests simply run `gradlew testDebug`. Code coverage reports can be generated via [JaCoCO.](http://www.eclemma.org/jacoco/) To generate them locally run `gradlew jacocoTestReport`.

## LICENSE

WordPress-Editor-Android is the text editor used in the [WordPress Android app](https://github.com/wordpress-mobile/WordPress-Android) to create and edit pages & posts. In short it's a simple, straightforward way to visually edit HTML.

## Build Instructions ##
Expand All @@ -30,6 +24,10 @@ Finally, update `[PROJECT_ROOT]\.git\info\exclude` to ignore the symlink locally
# assets symlink
WordPressEditor/src/main/assets

## Testing ##

Testing is done with the [Robolectric framework.](http://robolectric.org/) To run tests simply run `gradlew testDebug`. Code coverage reports can be generated via [JaCoCo.](http://www.eclemma.org/jacoco/) To generate them locally run `gradlew jacocoTestReport`.

## LICENSE ##

WordPress-Editor-Android is an Open Source project covered by the [GNU General Public License version 2](LICENSE.md).
6 changes: 6 additions & 0 deletions WordPressEditor/lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="InvalidPackage">
<ignore regexp="robolectric-2.4.jar" />
</issue>
</lint>

0 comments on commit 5346958

Please sign in to comment.