Skip to content

Commit 6c81b53

Browse files
osa1Commit Queue
authored andcommitted
Update pkg/README.md with how to add new packages, run tests
Change-Id: Idfab3de5ebc07e2acf084de43da02a0bee6851e3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415863 Commit-Queue: Ömer Ağacan <[email protected]> Reviewed-by: Alexander Thomas <[email protected]>
1 parent 9887828 commit 6c81b53

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkg/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,14 @@ We validate:
4242
- that the dependencies listed in the pubspec are used in the package
4343
- that all the packages used by the source are listed in the pubspec
4444
- that a reference to a pkg/ package is done via a relative path dependency
45+
46+
# Adding new packages
47+
48+
Run `gclient sync` to re-generate `.dart_tool/package_config.json` after adding
49+
a new package.
50+
51+
# Testing packages
52+
53+
Currently `dart test` can't be used to run the tests, use `test.py` as usual.
54+
E.g. the command `./tools/test.py -n...<path>` runs all tests with prefix
55+
`<path>`.

0 commit comments

Comments
 (0)