Update README.md
diff --git a/.travis.yml b/.travis.yml
index 69cb852..83d8345 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -35,14 +35,13 @@
packages:
- libstdc++6
- fonts-droid
- - clang-format-5.0
before_script:
- git clone https://github.com/flutter/flutter.git
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
- flutter doctor
- pub global activate flutter_plugin_tools
script:
- - ./script/plugin_tools.sh format --travis --clang-format=clang-format-5.0
+ - flutter format `pwd`/packages
- ./script/plugin_tools.sh test
# Job 3) Build example APKs and run Java tests
- os: linux
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 20d3b2e..c837111 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -60,9 +60,9 @@
* Verify changes with [flutter_plugin_tools](https://pub.dartlang.org/packages/flutter_plugin_tools)
```
pub global activate flutter_plugin_tools
-pub global run flutter_plugin_tools format --plugins plugin_name
-pub global run flutter_plugin_tools analyze --plugins plugin_name
-pub global run flutter_plugin_tools test --plugins plugin_name
+pub global run flutter_plugin_tools format --plugins package_name
+pub global run flutter_plugin_tools analyze --plugins package_name
+pub global run flutter_plugin_tools test --plugins package_name
```
* `git commit -a -m "<your informative commit message>"`
* `git push origin <name_of_your_branch>`
@@ -83,8 +83,7 @@
* Click the green "Merge pull request" button on the GitHub UI of your pull
request (requires commit access).
-You must complete the
-[Contributor License Agreement](https://cla.developers.google.com/clas).
+You must complete the [Contributor License Agreement](https://cla.developers.google.com/clas).
You can do this online, and it only takes a minute.
If you've never submitted code before, you must add your (or your
organization's) name and contact info to the [AUTHORS](AUTHORS) file.
diff --git a/LICENSE b/LICENSE
index 566f5b5..8211a02 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,5 @@
-Copyright 2017, the Flutter project authors. All rights reserved.
+Copyright 2014 The Chromium Authors. All rights reserved.
+
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
@@ -23,4 +24,4 @@
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
index fd0eba1..53af8f1 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,37 @@
-# Helpful packages for Flutter
+# Flutter Packages
-This repository contains miscellaneous packages that help you build flutter
-apps. It is maintained by the Flutter team.
+[](https://travis-ci.org/flutter/packages)
+[](https://cirrus-ci.com/github/flutter/packages)
-# Contributing
+This repo is a companion repo to the main [flutter repo](
+https://github.com/flutter/flutter). It contains the source code for Flutter's
+first-party packages (i.e., packages developed by the core Flutter team).
+Check the [`packages`](./packages) directory to see all packages.
-See [CONTRIBUTING.md](CONTRIBUTING.md) for information on contributing to these
-packages.
+These packages are also available on [pub](https://pub.dartlang.org/flutter/packages).
+
+## Issues
+
+Please file any issues, bugs, or feature requests in the [main flutter
+repo](https://github.com/flutter/flutter/issues/new).
+
+## Contributing
+
+If you wish to contribute a new package to the Flutter ecosystem, please
+see the documentation for [developing packages](https://flutter.io/developing-packages/). You can store
+your package source code in any GitHub repository (the present repo is only
+intended for packages developed by the core Flutter team). Once your package
+is ready you can [publish](https://flutter.io/developing-packages/#publish)
+to the [pub repository](https://pub.dartlang.org/).
+
+If you wish to contribute a change to any of the existing packages in this repo,
+please review our [contribution guide](https://github.com/flutter/packages/blob/master/CONTRIBUTING.md),
+and send a [pull request](https://github.com/flutter/packages/pulls).
+
+## Plugins
+These are the available packages in this repository.
+
+| Plugin | Pub |
+|--------|-----|
+| [palette_generator](./packages/palette_generator/) | [](https://pub.dartlang.org/packages/palette_generator) |
+
diff --git a/analysis_options.yaml b/analysis_options.yaml
index 8661fe0..f352097 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -25,6 +25,8 @@
missing_return: warning
# allow having TODOs in the code
todo: ignore
+ exclude:
+ - 'flutter/**'
linter:
rules:
diff --git a/script/plugin_tools.sh b/script/plugin_tools.sh
index c2a3a0a..516ba01 100755
--- a/script/plugin_tools.sh
+++ b/script/plugin_tools.sh
@@ -5,6 +5,7 @@
echo "Running for all packages"
pub global run flutter_plugin_tools "$@"
else
+ echo "Looking for changes in $TRAVIS_COMMIT_RANGE"
FLUTTER_CHANGED_GLOBAL=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep -v packages | wc -l`
FLUTTER_CHANGED_PACKAGES=`git diff --name-only $TRAVIS_COMMIT_RANGE | grep -o "packages/[^/]*" | sed -e "s/packages\///g" | sort | uniq | paste -s -d, -`
if [ "${FLUTTER_CHANGED_PACKAGES}" = "" ] || [ $FLUTTER_CHANGED_GLOBAL -gt 0 ]; then