Skip to content

Commit 5ea084a

Browse files
committed
Add iteration loop section
1 parent f31faa9 commit 5ea084a

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

agents.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,6 @@ The public API of the Firebase SDKs is managed using a set of annotations:
8181
8282
---
8383
84-
## Best Practices
85-
86-
- **Code Formatting**: The repository uses `spotless` for code formatting. To format the code in a
87-
specific project, run:
88-
```bash
89-
./gradlew :<firebase-project>:spotlessApply
90-
```
91-
- **Dependency Management**: Dependencies are managed using Gradle. Be mindful of the impact of new
92-
dependencies on the size of the SDKs.
93-
94-
---
95-
9684
## Common Patterns
9785
9886
This repository uses a combination of dependency injection frameworks:
@@ -108,9 +96,28 @@ This repository uses a combination of dependency injection frameworks:
10896
10997
---
11098
99+
## Iteration Loop
100+
101+
After you make a change, here's the flow you should follow:
102+
103+
- Format the code using `spotless`. It can be run with:
104+
```bash
105+
./gradlew :<firebase-project>:spotlessApply
106+
```
107+
- Run unit tests:
108+
```bash
109+
./gradlew :<firebase-project>:check
110+
```
111+
- If necessary, run integration tests based on the instructions above.
112+
113+
---
114+
111115
## External Dependencies
112116

113-
Do not add new external dependencies to the project unless explicitly asked to do so. The Firebase
117+
---
118+
119+
Do not add, under any circunstance, any new dependency to a SDK that does not already exists in the
120+
`gradle/libs.versions.toml`, and even then, only do it if cxexplicitly asked to do so. The Firebase
114121
SDKs are designed to be lightweight, and adding new dependencies can increase the size of the final
115122
artifacts.
116123

0 commit comments

Comments
 (0)