summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPablo Guardiola <guardiola31337@gmail.com>2017-07-21 14:03:37 +0200
committerGitHub <noreply@github.com>2017-07-21 14:03:37 +0200
commitb83d79708185f0d8def1d3638fcc702305cd3fab (patch)
treed4b974c35626cdf1d95533133cfaf930aaf87ceb /Makefile
parentfb8d40ae6754ef1becd09cd91d45b1f980cf19e5 (diff)
downloadqtlocation-mapboxgl-b83d79708185f0d8def1d3638fcc702305cd3fab.tar.gz
[android] add lint using current baseline as starting point (#9318)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dfa5c8b640..4a52f47c25 100644
--- a/Makefile
+++ b/Makefile
@@ -616,6 +616,18 @@ test-code-android:
android-checkstyle: platform/android/configuration.gradle
cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none checkstyle
+.PHONY: android-lint-sdk
+android-lint-sdk: platform/android/configuration.gradle
+ cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none :MapboxGLAndroidSDK:lint
+
+.PHONY: android-lint-test-app
+android-lint-test-app: platform/android/configuration.gradle
+ cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none :MapboxGLAndroidSDKTestApp:lint
+
+.PHONY: android-lint-wear-app
+android-lint-wear-app: platform/android/configuration.gradle
+ cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none :MapboxGLAndroidSDKWearTestApp:lint
+
.PHONY: android-javadoc
android-javadoc: platform/android/configuration.gradle
cd platform/android && $(MBGL_ANDROID_GRADLE) -Pmapbox.abis=none :MapboxGLAndroidSDK:javadocrelease