populate the pubspec repository fields; update readme #196 (#202)
* misc repository maintenance
* update readme
diff --git a/.github/workflows/file.yml b/.github/workflows/file.yml
index 5980e73..af48b86 100644
--- a/.github/workflows/file.yml
+++ b/.github/workflows/file.yml
@@ -1,4 +1,4 @@
-name: File Package
+name: Dart
on:
push:
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..10a650d
--- /dev/null
+++ b/README.md
@@ -0,0 +1,8 @@
+[![Dart](https://github.com/google/file.dart/actions/workflows/file.yml/badge.svg)](https://github.com/google/file.dart/actions/workflows/file.yml)
+
+A monorepo for the `package:file` and `package:file_testing` packages.
+
+Package | Description | Published Version
+--- | --- | ---
+[file](packages/file/) | A pluggable, mockable file system abstraction for Dart. | [![pub package](https://img.shields.io/pub/v/file.svg)](https://pub.dev/packages/file)
+[file_testing](packages/file_testing/) | Testing utilities for package:file. | [![pub package](https://img.shields.io/pub/v/file_testing.svg)](https://pub.dev/packages/file_testing)
diff --git a/appveyor.yml b/appveyor.yml
deleted file mode 100644
index 319ec41..0000000
--- a/appveyor.yml
+++ /dev/null
@@ -1,14 +0,0 @@
-install:
- - ps: wget https://storage.googleapis.com/dart-archive/channels/dev/release/latest/sdk/dartsdk-windows-x64-release.zip -OutFile dart-sdk.zip
- - cmd: echo "Unzipping dart-sdk..."
- - cmd: 7z x dart-sdk.zip -o"C:\tools" -y > nul
- - set PATH=%PATH%;C:\tools\dart-sdk\bin
- - set PATH=%PATH%;%APPDATA%\Pub\Cache\bin
- - cmd: cd packages\file
- - ps: pwd
- - cmd: pub get
-
-build: off
-
-test_script:
- - pub run test -j1
diff --git a/packages/file/CHANGELOG.md b/packages/file/CHANGELOG.md
index 27d83ff..e20d20c 100644
--- a/packages/file/CHANGELOG.md
+++ b/packages/file/CHANGELOG.md
@@ -1,3 +1,7 @@
+#### 6.1.4
+
+* Populate the pubspec `repository` field.
+
#### 6.1.3
* In classes that implement `File` methods `create`, `createSync` now take `bool exclusive = true` parameter. No functional changes.
@@ -49,7 +53,7 @@
* Enabled more tests.
* Internal cleanup.
* Remove implicit dynamic in preparation for null safety.
-* Remove dependency on Intl
+* Remove dependency on Intl.
#### 5.2.1
diff --git a/packages/file/README.md b/packages/file/README.md
index c8e3e30..d431fc1 100644
--- a/packages/file/README.md
+++ b/packages/file/README.md
@@ -1,5 +1,5 @@
-[![Build Status](https://travis-ci.org/google/file.dart.svg?branch=master)](https://travis-ci.org/google/file.dart)
[![pub package](https://img.shields.io/pub/v/file.svg)](https://pub.dev/packages/file)
+[![package publisher](https://img.shields.io/pub/publisher/file.svg)](https://pub.dev/packages/file/publisher)
A generic file system abstraction for Dart.
diff --git a/analysis_options.yaml b/packages/file/analysis_options.yaml
similarity index 100%
rename from analysis_options.yaml
rename to packages/file/analysis_options.yaml
diff --git a/packages/file/pubspec.yaml b/packages/file/pubspec.yaml
index 8810187..acbef9b 100644
--- a/packages/file/pubspec.yaml
+++ b/packages/file/pubspec.yaml
@@ -1,10 +1,10 @@
name: file
-version: 6.1.3
+version: 6.1.4
description:
A pluggable, mockable file system abstraction for Dart. Supports local file
system access, as well as in-memory file systems, record-replay file systems,
and chroot file systems.
-homepage: https://github.com/google/file.dart
+repository: https://github.com/google/file.dart/tree/master/packages/file
environment:
sdk: '>=2.12.0 <3.0.0'
@@ -14,6 +14,6 @@
path: ^1.8.0
dev_dependencies:
- file_testing: '>=3.0.0 <4.0.0'
+ file_testing: ^3.0.0
lints: ^1.0.1
- test: '^1.16.0'
+ test: ^1.16.0
diff --git a/analysis_options.yaml b/packages/file_testing/analysis_options.yaml
similarity index 100%
copy from analysis_options.yaml
copy to packages/file_testing/analysis_options.yaml
diff --git a/packages/file_testing/pubspec.yaml b/packages/file_testing/pubspec.yaml
index e4c6ca1..5040708 100644
--- a/packages/file_testing/pubspec.yaml
+++ b/packages/file_testing/pubspec.yaml
@@ -1,12 +1,13 @@
name: file_testing
version: 3.0.0
-description: Testing utilities for package:file
-homepage: https://github.com/google/file.dart/packages/file_testing
+description: Testing utilities for package:file.
+repository: https://github.com/google/file.dart/tree/master/packages/file_testing
environment:
sdk: '>=2.12.0-0 <3.0.0'
dependencies:
test: ^1.16.0
+
dev_dependencies:
lints: ^1.0.1
diff --git a/pubspec.yaml b/pubspec.yaml
deleted file mode 100644
index 2269e8f..0000000
--- a/pubspec.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-name: file_dart_repository
-version: 0.1.0
-description: The repository for the file.dart package
-publish_to: none
-
-environment:
- sdk: '>=2.12.0 <3.0.0'
-
-dev_dependencies:
- lints: ^1.0.1