-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
404 additions
and
383 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Spinify: contribution guide | ||
|
||
## How to regenerate protobuf files | ||
|
||
Windows: | ||
|
||
```ps1 | ||
$ choco install protoc | ||
$ dart pub global activate protoc_plugin | ||
$ dart pub get | ||
$ protoc --proto_path=lib/src/model/protobuf --dart_out=lib/src/model/protobuf lib/src/model/protobuf/client.proto | ||
$ dart run build_runner build --delete-conflicting-outputs | ||
$ dart format -l 80 lib/src/model/pubspec.yaml.g.dart lib/src/model/protobuf/ | ||
``` | ||
|
||
Linux: | ||
|
||
```bash | ||
$ sudo apt update | ||
$ sudo apt install -y protobuf-compiler dart | ||
$ export PATH="$PATH":"$HOME/.pub-cache/bin" | ||
$ dart pub global activate protoc_plugin | ||
$ dart pub get | ||
$ protoc --proto_path=lib/src/model/protobuf --dart_out=lib/src/model/protobuf lib/src/model/protobuf/client.proto | ||
$ dart run build_runner build --delete-conflicting-outputs | ||
$ dart format -l 80 lib/src/model/pubspec.yaml.g.dart lib/src/model/protobuf/ | ||
``` | ||
|
||
macOS: | ||
|
||
```zsh | ||
$ brew update | ||
$ brew install protobuf dart | ||
$ export PATH="$PATH":"$HOME/.pub-cache/bin" | ||
$ dart pub global activate protoc_plugin | ||
$ dart pub get | ||
$ protoc --proto_path=lib/src/model/protobuf --dart_out=lib/src/model/protobuf lib/src/model/protobuf/client.proto | ||
$ dart run build_runner build --delete-conflicting-outputs | ||
$ dart format -l 80 lib/src/model/pubspec.yaml.g.dart lib/src/model/protobuf/ | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
library interface; | ||
|
||
export 'package:centrifuge_dart/src/client/centrifuge_interface.dart'; | ||
export 'package:centrifuge_dart/src/client/config.dart'; | ||
export 'package:centrifuge_dart/src/client/state.dart'; | ||
export 'package:centrifuge_dart/src/client/states_stream.dart'; | ||
export 'package:centrifuge_dart/src/model/client_info.dart'; | ||
export 'package:centrifuge_dart/src/model/exception.dart'; | ||
export 'package:centrifuge_dart/src/model/jwt.dart'; | ||
export 'package:centrifuge_dart/src/model/publication.dart'; | ||
export 'package:centrifuge_dart/src/subscription/subscription.dart' | ||
export 'package:spinify/src/client/centrifuge_interface.dart'; | ||
export 'package:spinify/src/client/config.dart'; | ||
export 'package:spinify/src/client/state.dart'; | ||
export 'package:spinify/src/client/states_stream.dart'; | ||
export 'package:spinify/src/model/client_info.dart'; | ||
export 'package:spinify/src/model/exception.dart'; | ||
export 'package:spinify/src/model/jwt.dart'; | ||
export 'package:spinify/src/model/publication.dart'; | ||
export 'package:spinify/src/subscription/subscription.dart' | ||
show | ||
ICentrifugeSubscription, | ||
ISpinifySubscription, | ||
CentrifugeClientSubscription, | ||
CentrifugeServerSubscription; | ||
export 'package:centrifuge_dart/src/subscription/subscription_config.dart'; | ||
export 'package:centrifuge_dart/src/subscription/subscription_state.dart'; | ||
export 'package:spinify/src/subscription/subscription_config.dart'; | ||
export 'package:spinify/src/subscription/subscription_state.dart'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
library spinify; | ||
|
||
export 'package:spinify/src/client/centrifuge.dart' show Spinify; | ||
export 'package:spinify/src/client/config.dart'; | ||
export 'package:spinify/src/client/state.dart'; | ||
export 'package:spinify/src/client/states_stream.dart'; | ||
export 'package:spinify/src/model/client_info.dart'; | ||
export 'package:spinify/src/model/exception.dart'; | ||
export 'package:spinify/src/model/jwt.dart'; | ||
export 'package:spinify/src/model/publication.dart'; | ||
export 'package:spinify/src/subscription/subscription.dart' | ||
show CentrifugeClientSubscription, CentrifugeServerSubscription; | ||
export 'package:spinify/src/subscription/subscription_config.dart'; | ||
export 'package:spinify/src/subscription/subscription_state.dart'; |
Oops, something went wrong.