- Read the DEVELOPER_GUIDE.md before starting work.
- Run
dart format .before declaring yourself done. - Run
dart analyze .and fix any issues before declaring yourself done. - Update this file if you discover something useful about developing in this repository.
- Run
dart testfrequently. - Before running tests with the
-P google-cloudflag, find the currently configured project usinggcloud config get-value projectand ask the user to confirm that this specific project is safe to use. - Because integration tests require setting the
GOOGLE_CLOUD_PROJECTenvironment variable, you must run the command in a shell instead of using themcp_dart_run_teststool. For example:GOOGLE_CLOUD_PROJECT=$(gcloud config get-value project) dart test . -P google-cloud - Try to fix any test failures before declaring yourself done.