Merge pull request #146 from famedly/reza/oidc-login-flow

Update Readme and Pubspec
This commit is contained in:
Krille-chan 2024-01-09 12:52:28 +01:00 committed by GitHub
commit 0e92f8693f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 11 deletions

View File

@ -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
```

View File

@ -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"