Explorar o código

app: add AGENTS.md

darkfi hai 2 días
pai
achega
9765ebcd6c
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      bin/app/AGENTS.md

+ 8 - 0
bin/app/AGENTS.md

@@ -0,0 +1,8 @@
+* Run `make fmt` to format code.
+* Run `make compile-dev` to test desktop target.
+* Run `make compile-apk` to test mobile target.
+* Never use `crate::` inline in code. Always do an appropriate import.
+  Imports must always be clustered together so no duplicate `use crate::` lines.
+* `use parking_lot::Mutex as SyncMutex;` is the canonical sync mutex.
+  `use async_lock::Mutex as AsyncMutex;` is the canonical async mutex.
+