flutter / flutter/devtools

Convert shell scripts to dart scripts

未关闭
#6,324 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
fix it friday P3
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

Look into converting the following over to dart scripts:

All the CI scripts under `tool/ci`:
- [ ] benchmark_performance.sh
- [ ] benchmark_size.sh
- [ ] bots.sh
- [ ] package_tests.sh
- [ ] setup.sh

All other scripts:
- [x] build_release.sh - replaced by `devtools_tool build-release`
- [x] fix_goldens.sh - replaced by `devtools_tool fix-goldens --run-id 12345`
- [x] ~flutter_tests.sh~ (no longer exists). We have remaining bash scripts under `flutter_customer_tests` but these do not need to be run on Windows right now.
- [x] generate_code.sh - https://github.com/flutter/devtools/pull/6579
- [ ] latest_flutter_candidate.sh
- [x] pub_upgrade.sh - replaced by `devtools_tool pub-get --upgrade`
- [x] pull_and_refresh.sh - replaced by `devtools_tool sync`
- [x] refresh.sh - replaced by `devtools_tool generate-code --upgrade`
- [x] release_helper.sh
- [x] tag_version.sh - replaced by `devtools_tool tag-version`
- [x] update_flutter_sdk.sh - replaced by `devtools_tool update-flutter-sdk [--local] [--no-use-cache]`
- [x] update_perfetto.sh - replaced by `devtools_tool update-perfetto`
- [x] upgrade.sh - replaced by the `pub-get` command: `devtools_tool pub-get --only-main --upgrade`
- [x] `build_e2e.dart` should also be moved into `devtools_tool` for consistency
- this has been replaced by `devtools_tool serve`

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。