Repository navigation
Expand file tree
/
Copy pathTaskfile.yml
More file actions
64 lines (53 loc) · 1.46 KB
/
Copy pathTaskfile.yml
File metadata and controls
64 lines (53 loc) · 1.46 KB
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
# Nexus Android — Taskfile
version: '3'
tasks:
generate:
desc: Generate Kotlin protobuf and Connect clients from nexus-proto
cmds:
- ./gradlew generateProtocol
doctor:
desc: Check the local Android build environment
cmds:
- bash scripts/check-env.sh
build:
desc: Build debug APK
cmds:
- ./gradlew assembleDebug
build-release:
desc: Build release APK
cmds:
- ./gradlew assembleRelease
test:
desc: Run unit tests
cmds:
- ./gradlew test
lint:
desc: Run Android lint
cmds:
- ./gradlew lint
verify:
desc: Run protocol generation, tests, lint, and debug/release builds
cmds:
- ./gradlew generateProtocol test lint assembleDebug bundleRelease
clean:
desc: Clean build artifacts
cmds:
- ./gradlew clean
install:
desc: Install debug APK on connected device
cmds:
- ./gradlew installDebug
run-debug:
desc: Build, install, and launch debug APK on local emulator
cmds:
- cmd: powershell -ExecutionPolicy Bypass -File scripts/run-debug.ps1
platforms: [windows]
- cmd: ./scripts/run-debug.sh
platforms: [darwin, linux]
run-debug-fast:
desc: Install and launch existing debug APK on local emulator
cmds:
- cmd: powershell -ExecutionPolicy Bypass -File scripts/run-debug.ps1 -SkipBuild
platforms: [windows]
- cmd: ./scripts/run-debug.sh --skip-build
platforms: [darwin, linux]