From 85a3a8cd89df6a8f00b693500c03226d1bddcd41 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Fri, 7 May 2021 16:38:34 -0700 Subject: [PATCH] Fixes for package score: longer description and correct example filename (#56) --- example/{example_server.dart => example.dart} | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename example/{example_server.dart => example.dart} (96%) diff --git a/example/example_server.dart b/example/example.dart similarity index 96% rename from example/example_server.dart rename to example/example.dart index 288d630..c79373f 100644 --- a/example/example_server.dart +++ b/example/example.dart @@ -29,7 +29,7 @@ void main(List args) { exit(64); } - if (!FileSystemEntity.isFileSync('example/example_server.dart')) { + if (!FileSystemEntity.isFileSync('example/example.dart')) { throw StateError('Server expects to be started the ' 'root of the project.'); } diff --git a/pubspec.yaml b/pubspec.yaml index c9419c9..a8fdc56 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: shelf_static version: 1.1.0-dev -description: Static file server support for shelf +description: Static file server support for the shelf package and ecosystem repository: https://github.com/dart-lang/shelf_static environment: