Compare commits
No commits in common. "master" and "v0.1.1" have entirely different histories.
1 changed files with 4 additions and 18 deletions
22
CLAUDE.md
22
CLAUDE.md
|
|
@ -8,11 +8,11 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|||
# First-time setup: generate the Gradle wrapper (requires Gradle installed)
|
||||
gradle wrapper --gradle-version 8.9
|
||||
|
||||
# Build debug APK (inside nix dev shell)
|
||||
nix develop --command gradle --no-daemon assembleDebug
|
||||
# Build debug APK
|
||||
./gradlew assembleDebug
|
||||
|
||||
# Build release APK — requires android-signing-env (sets signing vars + PUSH_GATEWAY_URL)
|
||||
android-signing-env nix develop --command gradle --no-daemon assembleRelease
|
||||
# Build release APK
|
||||
./gradlew assembleRelease
|
||||
|
||||
# Install on connected device/emulator
|
||||
./gradlew installDebug
|
||||
|
|
@ -24,20 +24,6 @@ android-signing-env nix develop --command gradle --no-daemon assembleRelease
|
|||
./gradlew clean
|
||||
```
|
||||
|
||||
### Secrets setup (required before release build)
|
||||
|
||||
```bash
|
||||
# Creates symlinks for google-services.json, firebase-service-account.json, .mc/credentials.json
|
||||
# Only needed once per boot (symlinks point into /run/agenix which is tmpfs)
|
||||
matrix-android-secrets /home/ltadeu6/Projetos/Codigo/matrix-android
|
||||
```
|
||||
|
||||
### Deploy Cloudflare Worker (push gateway)
|
||||
|
||||
```bash
|
||||
cloudflare-worker-env nix develop --command wrangler deploy --config gateway/wrangler.toml
|
||||
```
|
||||
|
||||
The project has no unit tests yet. Android Studio is the recommended way to open, sync, and run the project.
|
||||
|
||||
## Architecture
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue