mirror of
https://github.com/topjohnwu/Magisk.git
synced 2026-04-28 03:53:08 -07:00
Add basic AGENTS.md for application code
This commit is contained in:
12
AGENTS.md
Normal file
12
AGENTS.md
Normal file
@@ -0,0 +1,12 @@
|
||||
## AGENTS.md for Magisk
|
||||
|
||||
### General
|
||||
|
||||
- Prefix every shell command with `scripts/env.py` to ensure that commands are executed with the correct environment.
|
||||
|
||||
### App
|
||||
|
||||
- All application related source code lives under `app` directory. When working on the application codebase, use `app` as the working directory.
|
||||
- The `app` directory is itself a Gradle project. Use `./gradlew` with corresponding tasks to build the app.
|
||||
- The Magisk app is written in Kotlin and Java. Prefer Kotlin for all new code.
|
||||
- After doing changes in `app`, make sure to build the relevant modules to ensure they build successfully.
|
||||
Reference in New Issue
Block a user