Index: third_party/dart-pkg/README.md |
diff --git a/third_party/dart-pkg/README.md b/third_party/dart-pkg/README.md |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3d65c0cce492b6e8803599a03157adff98d69278 |
--- /dev/null |
+++ b/third_party/dart-pkg/README.md |
@@ -0,0 +1,12 @@ |
+# Dart Package Dependencies |
+ |
+## Dependening on a new Dart package |
+ |
+1. Edit `DEPS` and add your package revision to `vars` |
+2. Edit `DEPS` and add your package to `deps` checking out to `/third_party/dart-pkg/package` |
+3. Edit `/third_party/dart-pkg/BUILD.gn` and add a `dart_pkg` rule for the package. |
+ |
+## Updating the version of an existing Dart package |
+ |
+1. Edit `DEPS` and update the package revision in `vars` |
+2. Edit any related `pubspec.yaml` files and adjust version constraints accordingly |
zra
2015/09/16 16:03:53
Yah, I think this could use a little fleshing out.
|