0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-07 00:50:23 -05:00

chore(mobile): Removes analysis options for openapi directory (#7309)

* Removes analysis options for openapi directory

* Updates the generate open api script to remove the analysis_options.yaml file from the mobile/openapi directory
This commit is contained in:
martyfuhry 2024-03-13 09:27:52 -04:00 committed by GitHub
parent a7efd66ae9
commit 08d64f1c25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

View file

@ -34,7 +34,6 @@ linter:
analyzer:
exclude:
- openapi/**
- openapi/test/**
- lib/generated_plugin_registrant.dart
plugins:

View file

@ -14,6 +14,9 @@ function dart {
# Post generate patches
patch --no-backup-if-mismatch -u ../mobile/openapi/lib/api_client.dart <./patch/api_client.dart.patch
patch --no-backup-if-mismatch -u ../mobile/openapi/lib/api.dart <./patch/api.dart.patch
# Don't include analysis_options.yaml for the generated openapi files
# so that language servers can properly exclude the mobile/openapi directory
rm ../mobile/openapi/analysis_options.yaml
}
function typescript {