Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Unified Diff: README.md

Issue 1715523003: Warn when an unsupported platform is passed. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | doc/package_config.md » ('j') | lib/src/backend/operating_system.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: README.md
diff --git a/README.md b/README.md
index 30157a8ab16911cd7fd49cb2abe4558d443ae4b3..80c4654dc489f236082addc33281520b6b54577f 100644
--- a/README.md
+++ b/README.md
@@ -176,6 +176,11 @@ specifies exactly which platforms a test can run on. It can be as simple as the
name of a platform, or a more complex Dart-like boolean expression involving
these platform names.
+You can also declare that your entire package only works on certain platforms by
+adding a [`test_on` field][test_on] to your package config file.
+
+[test_on]: https://github.com/dart-lang/test/blob/master/doc/package_config.md#test_on
+
### Platform Selectors
Platform selectors use the [boolean selector syntax][] defined in the
« no previous file with comments | « no previous file | doc/package_config.md » ('j') | lib/src/backend/operating_system.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698