mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Re-submit the changes to enable windows pre-push checks. This patch changes how `ci/bin/format.dart` generate diffs from `diff` and `patch` commands to `git diff` and `git apply` in order to have a common method for these operations on all platforms. Windows installations don't have diff and patch commands available by default and many implementations which provide such commands work differently than the UN*X tools. Git however works consistently across all platforms. Additionally, this patch also changes the python executable in some of the pre-push components affected by this to `vpython3` to continue the effort started at flutter/flutter#108474 and I also removed the `--no-sound-null-safety` parameter in the ci/format.sh, ci/format.bat files NOTE: Since the original patch caused some issues, I suggest that this should be tested more carefully before it is merged. ### Issues fixed by this PR * flutter/flutter#108122 * flutter/flutter#107920 * flutter/flutter#86506 * flutter/flutter#106615 ### [flutter/tests] repo impact None. writing and running engine tests. [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
58 lines
1.5 KiB
YAML
58 lines
1.5 KiB
YAML
# Copyright 2013 The Flutter Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
name: ci_scripts
|
|
publish_to: none
|
|
environment:
|
|
sdk: '>=3.0.0-0 <4.0.0'
|
|
|
|
# Do not add any dependencies that require more than what is provided in
|
|
# //third_party/pkg, //third_party/dart/pkg, or
|
|
# //third_party/dart/third_party/pkg. In particular, package:test is not usable
|
|
# here.
|
|
|
|
# If you do add packages here, make sure you can run `pub get --offline`, and
|
|
# check the .packages and .package_config to make sure all the paths are
|
|
# relative to this directory into //third_party/dart
|
|
|
|
dependencies:
|
|
args: any
|
|
meta: any
|
|
path: any
|
|
process_runner: any
|
|
process: any
|
|
|
|
dev_dependencies:
|
|
async_helper: any
|
|
expect: any
|
|
litetest: any
|
|
|
|
dependency_overrides:
|
|
args:
|
|
path: ../../third_party/dart/third_party/pkg/args
|
|
async:
|
|
path: ../../third_party/dart/third_party/pkg/async
|
|
async_helper:
|
|
path: ../../third_party/dart/pkg/async_helper
|
|
collection:
|
|
path: ../../third_party/dart/third_party/pkg/collection
|
|
expect:
|
|
path: ../../third_party/dart/pkg/expect
|
|
file:
|
|
path: ../../third_party/pkg/file/packages/file
|
|
litetest:
|
|
path: ../testing/litetest
|
|
meta:
|
|
path: ../../third_party/dart/pkg/meta
|
|
path:
|
|
path: ../../third_party/dart/third_party/pkg/path
|
|
platform:
|
|
path: ../../third_party/pkg/platform
|
|
process:
|
|
path: ../../third_party/pkg/process
|
|
process_runner:
|
|
path: ../../third_party/pkg/process_runner
|
|
smith:
|
|
path: ../../third_party/dart/pkg/smith
|