From c57c75bc1a449120f8a4aceb4365da59cdb4c030 Mon Sep 17 00:00:00 2001 From: Mohammad Reza Moradi Date: Wed, 27 Dec 2023 12:17:32 +0100 Subject: [PATCH] chore: update readme and pubspec --- README.md | 8 ++++---- pubspec.yaml | 12 +++++------- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 51df5698..59a53710 100644 --- a/README.md +++ b/README.md @@ -28,17 +28,17 @@ from [matrix-spec](https://github.com/matrix-org/matrix-spec/). To regenerate the code, follow these steps: 1. Clone both repositories next to each other - 1.1 `git clone git@gitlab.com:famedly/company/frontend/dart_openapi_codegen.git` - 1.2 `git clone git@gitlab.com:famedly/company/frontend/libraries/matrix_api_lite.git` + 1.1 `git clone git@github.com:famedly/dart_openapi_codegen.git` + 1.2 `git clone git@github.com:famedly/dart_matrix_api_lite.git` 2. Execute the script in the dart_openapi_codegen directory: ```sh cd dart_openapi_codegen -./scripts/matrix.sh ../matrix_api_lite/lib/src/generated +./scripts/matrix.sh ../dart_matrix_api_lite/lib/src/generated cd .. ``` 3. Run the build_runner in the matrix_api_lite directory: ```sh -cd matrix_api_lite +cd dart_matrix_api_lite dart pub get dart run build_runner build ``` diff --git a/pubspec.yaml b/pubspec.yaml index a584bcdd..9d51305f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,8 +2,8 @@ name: matrix_api_lite description: Dead simple data model for the matrix.org client-server API. version: 1.7.2 homepage: https://famedly.com -repository: https://gitlab.com/famedly/company/frontend/libraries/matrix_api_lite/ -issues: https://gitlab.com/famedly/company/frontend/libraries/matrix_api_lite/-/issues +repository: https://github.com/famedly/dart_matrix_api_lite +issues: https://github.com/famedly/dart_matrix_api_lite/issues environment: sdk: ">=2.17.0 <4.0.0" @@ -19,8 +19,6 @@ dev_dependencies: import_sorter: ^4.6.0 lints: ^2.0.0 test: ^1.14.4 - -dependency_overrides: -# uncomment for local development -# matrix: -# path: '../famedlysdk' +# dependency_overrides: # uncomment for local development +# matrix: +# path: "../matrix-dart-sdk"