forked from natura-cosmeticos/natds-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (38 loc) · 1.29 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
clean:
./gradlew clean
lint:
./gradlew ktlint
run-lint-rules:
./gradlew ktlintFormat
unit-test: unit-test-designsystem unit-test-sample
unit-test-sample:
./gradlew sample:test --parallel
unit-test-designsystem:
./gradlew designsystem:test --parallel
instrumentation-test: clean disable-animations
./gradlew connectedAndroidTest
screenshot-test: clean install-tools-screenshot-test
./gradlew verifyDebugAndroidTestScreenshotTest
update-screenshots: clean install-tools-screenshot-test
./gradlew recordDebugAndroidTestScreenshotTest
install-tools-screenshot-test:
bash ./tools/screenshot-tools.sh
disable-animations:
adb shell settings put global window_animation_scale 0
adb shell settings put global transition_animation_scale 0
adb shell settings put global animator_duration_scale 0
enable-animations:
adb shell settings put global window_animation_scale 1
adb shell settings put global transition_animation_scale 1
adb shell settings put global animator_duration_scale 1
publish-ds-lib-prod: clean
./gradlew build publish --stacktrace
run-all-sanitycheck-steps: lint unit-test instrumentation-test
update-icons:
sh ./tools/update_icons.sh
kill-all-emulators:
sh ./tools/kill_emulators.sh
distribute-sample:
sh bundle exec fastlane build
fastlane build
fastlane distribute_sample