chore: update readme and pubspec
This commit is contained in:
parent
150d5dbd76
commit
c57c75bc1a
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
10
pubspec.yaml
10
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
|
||||
# dependency_overrides: # uncomment for local development
|
||||
# matrix:
|
||||
# path: '../famedlysdk'
|
||||
# path: "../matrix-dart-sdk"
|
||||
|
|
|
|||
Loading…
Reference in New Issue