This repository has been archived by the owner on Jul 23, 2019. It is now read-only.
forked from mapbox/mapbox-navigation-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
62 lines (48 loc) · 3.03 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
checkstyle:
./gradlew checkstyle
test:
# See libandroid-navigation/build.gradle for details
./gradlew :libandroid-navigation:test
./gradlew :libandroid-navigation-ui:test
build-release:
./gradlew :libandroid-navigation:assembleRelease
./gradlew :libandroid-navigation-ui:assembleRelease
javadoc:
./gradlew :libandroid-navigation:javadocrelease
./gradlew :libandroid-navigation-ui:javadocrelease
publish:
export IS_LOCAL_DEVELOPMENT=false; ./gradlew :libandroid-navigation:uploadArchives
export IS_LOCAL_DEVELOPMENT=false; ./gradlew :libandroid-navigation-ui:uploadArchives
publish-local:
# This publishes to ~/.m2/repository/com/mapbox/mapboxsdk
export IS_LOCAL_DEVELOPMENT=true; ./gradlew :libandroid-navigation:uploadArchives
export IS_LOCAL_DEVELOPMENT=true; ./gradlew :libandroid-navigation-ui:uploadArchives
graphs:
./gradlew :libandroid-navigation:generateDependencyGraphMapboxLibraries
./gradlew :libandroid-navigation-ui:generateDependencyGraphMapboxLibraries
dependency-updates:
./gradlew :libandroid-navigation:dependencyUpdates
./gradlew :libandroid-navigation-ui:dependencyUpdates
./gradlew :app:dependencyUpdates
dex-count:
./gradlew countDebugDexMethods
./gradlew countReleaseDexMethods
navigation-fixtures:
# Navigation: Taylor street to Page street
curl "https://api.mapbox.com/directions/v5/mapbox/driving/-122.413165,37.795042;-122.433378,37.7727?geometries=polyline6&overview=full&steps=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \
-o libandroid-navigation/src/test/resources/navigation.json
# Directions: polyline geometry with precision 5
curl "https://api.mapbox.com/directions/v5/mapbox/driving/-122.416667,37.783333;-121.900000,37.333333?geometries=polyline&steps=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \
-o libandroid-navigation/src/test/resources/directions_v5.json
# Intersection:
curl "https://api.mapbox.com/directions/v5/mapbox/driving/-101.70939001157072,33.62145406099651;-101.68721910152767,33.6213852194939?geometries=polyline6&steps=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \
-o libandroid-navigation/src/test/resources/single_intersection.json
# Distance Congestion annotation: Mapbox DC to National Mall
curl "https://api.mapbox.com/directions/v5/mapbox/driving-traffic/-77.034042,38.899949;-77.03949,38.888871?geometries=polyline6&overview=full&steps=true&annotations=congestion%2Cdistance&access_token=$(MAPBOX_ACCESS_TOKEN)" \
-o libandroid-navigation/src/test/resources/directions_distance_congestion_annotation.json
# Default Directions
curl "https://api.mapbox.com/directions/v5/mapbox/driving/-122.416686,37.783425;-121.90034,37.333317?geometries=polyline6&steps=true&banner_instructions=true&voice_instructions=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \
-o libandroid-navigation/src/test/resources/directions_v5_precision_6.json
# No VoiceInstructions
curl "https://api.mapbox.com/directions/v5/mapbox/driving/-77.034013,38.899994;-77.033757,38.903311?geometries=polyline6&steps=true&access_token=$(MAPBOX_ACCESS_TOKEN)" \
-o libandroid-navigation/src/test/resources/directions_v5_no_voice.json