diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 16fc729..728e70d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,7 +25,7 @@ it should raise analysis issues as you edit; alternatively validate from the Terminal: ``` -dartanalyzer lib test +dart analyze ``` All analysis warnings and errors must be fixed; hints should be considered. @@ -33,8 +33,7 @@ All analysis warnings and errors must be fixed; hints should be considered. ## Running tests ``` -pub get -pub run test +dart test ``` gRPC-web tests require [`envoy`]( @@ -69,4 +68,4 @@ early on. so. ## Updating protobuf definitions -Sometimes we might need to update the generated dart files from the protos included in `lib/src/protos`. To do this, run the script `tool/regenerate.sh` from the project root and it will update the generated dart files in `lib/src/geneerated`. \ No newline at end of file +Sometimes we might need to update the generated dart files from the protos included in `lib/src/protos`. To do this, run the script `tool/regenerate.sh` from the project root and it will update the generated dart files in `lib/src/geneerated`. diff --git a/lib/grpc.dart b/lib/grpc.dart index 1c9593f..a1d4e5a 100644 --- a/lib/grpc.dart +++ b/lib/grpc.dart @@ -13,8 +13,9 @@ // See the License for the specific language governing permissions and // limitations under the License. -// ignore: dangling_library_doc_comments -/// Status detail types and error codes +/// Status detail types and error codes. +library; + export 'package:grpc/src/generated/google/rpc/error_details.pb.dart'; export 'src/auth/auth.dart' show BaseAuthenticator;