feat: scaffold hello_android via init_kotlin_app
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
---
|
||||
name: hello_android
|
||||
domain: tools
|
||||
description: "Primera app Android Kotlin Compose de prueba del registry"
|
||||
tags: [kotlin, compose, android]
|
||||
lang: kt
|
||||
framework: compose
|
||||
entry_point: "app/src/main/kotlin/com/fnregistry/hello_android/MainActivity.kt"
|
||||
dir_path: "apps/hello_android"
|
||||
repo_url: "https://gitea.organic-machine.com/dataforge/hello_android"
|
||||
uses_functions:
|
||||
- fn_theme_kt_ui
|
||||
- fn_tokens_kt_ui
|
||||
uses_types: []
|
||||
e2e_checks:
|
||||
- id: unit
|
||||
cmd: "fn run gradle_unit_test_bash_infra apps/hello_android"
|
||||
timeout_s: 240
|
||||
- id: screenshot
|
||||
cmd: "fn run gradle_screenshot_test_bash_infra apps/hello_android"
|
||||
timeout_s: 240
|
||||
- id: build
|
||||
cmd: "fn run gradle_assemble_debug_bash_infra apps/hello_android"
|
||||
timeout_s: 360
|
||||
- id: emu_start
|
||||
cmd: "fn run android_emulator_start_bash_infra Medium_Phone_API_35"
|
||||
timeout_s: 240
|
||||
- id: instrumented
|
||||
cmd: "fn run gradle_instrumented_test_bash_infra apps/hello_android"
|
||||
timeout_s: 600
|
||||
- id: emu_stop
|
||||
cmd: "fn run android_emulator_stop_bash_infra"
|
||||
severity: warning
|
||||
timeout_s: 30
|
||||
---
|
||||
|
||||
# hello_android
|
||||
|
||||
Primera app Android Kotlin Compose de prueba del registry
|
||||
|
||||
## Build
|
||||
|
||||
```bash
|
||||
fn run gradle_assemble_debug_bash_infra apps/hello_android
|
||||
```
|
||||
|
||||
## Tests unitarios + Roborazzi screenshots
|
||||
|
||||
```bash
|
||||
fn run gradle_unit_test_bash_infra apps/hello_android
|
||||
fn run gradle_screenshot_test_bash_infra apps/hello_android
|
||||
```
|
||||
|
||||
## Tests instrumentados (requiere emulador)
|
||||
|
||||
```bash
|
||||
fn run android_emulator_start_bash_infra Medium_Phone_API_35
|
||||
fn run gradle_instrumented_test_bash_infra apps/hello_android
|
||||
fn run android_emulator_stop_bash_infra
|
||||
```
|
||||
|
||||
## Package
|
||||
|
||||
`com.fnregistry.hello_android`
|
||||
|
||||
## FnTheme
|
||||
|
||||
La app usa FnTheme y FnTokens via composite build en `kotlin/functions/ui`.
|
||||
Para cambiar colores o tipografia, editar el modulo del registry.
|
||||
Reference in New Issue
Block a user