| 1 | // Copyright 2014 The Flutter Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | import '../run_command.dart'; |
| 6 | import '../utils.dart'; |
| 7 | |
| 8 | Future<void> docsRunner() async { |
| 9 | printProgress(' ${green}Running flutter doc tests $reset' ); |
| 10 | await runCommand('./dev/bots/docs.sh' , const <String>[ |
| 11 | '--output' , |
| 12 | 'dev/docs/api_docs.zip' , |
| 13 | '--keep-staging' , |
| 14 | '--staging-dir' , |
| 15 | 'dev/docs' , |
| 16 | ], workingDirectory: flutterRoot); |
| 17 | } |
| 18 | |