-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
72 lines (50 loc) · 1.64 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
63
64
65
66
67
68
69
70
71
72
build: clean
./gradlew build -x lint
clean:
./gradlew clean
lint:
./gradlew clean -x lint
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 --info --scan
instrumentation-test: clean disable-animations
./gradlew connectedAndroidTest
screenshot-test: clean install-tools-screenshot-test
./gradlew verifyDebugAndroidTestScreenshotTest
update-screenshots: clean disable-animations 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 -x lint
run-all-pipeline-steps: unit-test
update-icons:
sh ./tools/update_icons.sh
update-themes:
sh ./tools/update_themes.sh
bump-version:
bash ./tools/bump_version.sh
finish-all-emulators:
sh ./tools/finish_emulators.sh
publish-docs:
bash ./tools/create_docs.sh
distribute-sample:
sh bundle exec fastlane build
fastlane build
fastlane distribute_sample
send-release-notification-teams:
sh ./tools/send_release_notification.sh
create-component-skeleton:
sh ./tools/create_component_skeleton.sh $(component)