File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
packages/palette_generator/test Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ pub global run flutter_plugin_tools format --plugins package_name
64
64
pub global run flutter_plugin_tools analyze --plugins package_name
65
65
pub global run flutter_plugin_tools test --plugins package_name
66
66
```
67
+ * Check that the package can be published (but don't publish it until it has landed!):
68
+
69
+ ```
70
+ cd packages/package_name; pub publish --dry-run
71
+ ```
72
+
67
73
* ` git commit -a -m "<your informative commit message>" `
68
74
* ` git push origin <name_of_your_branch> `
69
75
Original file line number Diff line number Diff line change 1
1
# Flutter Packages
2
2
3
- [ ![ Build Status] ( https://travis-ci.org/flutter/packages.svg?branch=master )] ( https://travis-ci.org/flutter/packages )
4
- [ ![ Build Status] ( https://api.cirrus-ci.com/github/flutter/packages.svg )] ( https://cirrus-ci.com/github/flutter/packages )
3
+ [ ![ Build Status] ( https://api.cirrus-ci.com/github/flutter/packages.svg )] ( https://cirrus-ci.com/github/flutter/packages/master )
5
4
6
5
This repo is a companion repo to the main [ flutter repo] (
7
6
https://github.com/flutter/flutter ). It contains the source code for Flutter's
Original file line number Diff line number Diff line change @@ -65,12 +65,11 @@ void main() async {
65
65
testImages[name] = await loadImage ('$name .png' );
66
66
}
67
67
68
- testWidgets ('Initialize the image cache' , (WidgetTester tester) {
68
+ testWidgets ('Initialize the image cache' , (WidgetTester tester) async {
69
69
// We need to have a testWidgets test in order to initialize the image
70
70
// cache for the other tests, but they timeout if they too are testWidgets
71
71
// tests.
72
72
tester.pumpWidget (const Placeholder ());
73
- return new Future <Null >.value ();
74
73
});
75
74
76
75
test ('PaletteGenerator works on 1-pixel wide blue image' , () async {
You can’t perform that action at this time.
0 commit comments