Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gspencergoog committed Jun 15, 2018
1 parent 70de3f6 commit 30a84a6
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ matrix:
sources:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
packages:
- lib32stdc++6 # https://github.com/flutter/flutter/issues/6207
- libstdc++6
- fonts-droid
before_script:
Expand All @@ -33,6 +34,7 @@ matrix:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
- llvm-toolchain-precise # for clang-format-5.0
packages:
- lib32stdc++6 # https://github.com/flutter/flutter/issues/6207
- libstdc++6
- fonts-droid
- clang-format-5.0
Expand All @@ -42,7 +44,7 @@ matrix:
- 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
Expand Down
40 changes: 34 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
# Helpful packages for Flutter
# Flutter plugins

This repository contains miscellaneous packages that help you build flutter
apps. It is maintained by the Flutter team.
[![Build Status](https://travis-ci.org/flutter/packages.svg?branch=master)](https://travis-ci.org/flutter/packages)
[![Build Status](https://api.cirrus-ci.com/github/flutter/packages.svg)](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.

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/) | [![pub package](https://img.shields.io/pub/v/palette_generator.svg)](https://pub.dartlang.org/packages/palette_generator) |

See [CONTRIBUTING.md](CONTRIBUTING.md) for information on contributing to these
packages.
2 changes: 2 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ analyzer:
missing_return: warning
# allow having TODOs in the code
todo: ignore
exclude:
- 'flutter/**'

linter:
rules:
Expand Down
1 change: 1 addition & 0 deletions script/plugin_tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
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
Expand Down

0 comments on commit 30a84a6

Please sign in to comment.