Skip to content

Commit faa2bcb

Browse files
authored
Clean up removed flag. (#4125)
1 parent c77755f commit faa2bcb

File tree

5 files changed

+4
-21
lines changed

5 files changed

+4
-21
lines changed

build_daemon/example/example.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ void main(List<String> args) async {
2323
'run',
2424
'build_runner',
2525
'daemon',
26-
'--delete-conflicting-outputs',
2726
], logHandler: print);
2827
} catch (e) {
2928
if (e is VersionSkew) {

build_modules/test/build_test.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,7 @@ void main() {
3737
expect(_changedGeneratedFiles(), isEmpty);
3838

3939
// 2 - run build - should be no output, since nothing should change
40-
var result = _runProc('dart', [
41-
'run',
42-
'build_runner',
43-
'build',
44-
'--delete-conflicting-outputs',
45-
]);
40+
var result = _runProc('dart', ['run', 'build_runner', 'build']);
4641
expect(result, contains(BuildLog.successPattern));
4742

4843
// 3 - get a list of modified `.g.dart` files - should still be empty

build_runner/README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,6 @@ The available commands are `build`, `watch`, `serve`, and `test`.
8484
All the above commands support the following arguments:
8585

8686
- `--help`: Print usage information for the command.
87-
- `--delete-conflicting-outputs`: Assume conflicting outputs in the users
88-
package are from previous builds, and skip the user prompt that would usually
89-
be provided.
9087
- `--[no-]fail-on-severe`: Whether to consider the build a failure on an error
9188
logged. By default this is false.
9289
- `--build-filter`: Build filters allow you to choose explicitly which files to

build_runner/test/generate/build_integration_test.dart

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ main(List<String> args) async {
6565
]).create();
6666

6767
// Run a build and validate the full rebuild output.
68-
var result = await runDart(
69-
'a',
70-
'tool/build.dart',
71-
args: ['build', '--delete-conflicting-outputs'],
72-
);
68+
var result = await runDart('a', 'tool/build.dart', args: ['build']);
7369
expect(result.exitCode, 0, reason: result.stderr as String);
7470
expect(
7571
result.stdout,
@@ -90,11 +86,7 @@ main(List<String> args) async {
9086
d.dir('tool', [d.file('build.dart', changedBuildScript)]),
9187
]).create();
9288

93-
var result = await runDart(
94-
'a',
95-
'tool/build.dart',
96-
args: ['build', '--delete-conflicting-outputs'],
97-
);
89+
var result = await runDart('a', 'tool/build.dart', args: ['build']);
9890
expect(result.exitCode, 0, reason: result.stderr as String);
9991
expect(
10092
result.stdout,

build_runner/test/generate/watch_integration_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import 'package:build_runner_core/build_runner_core.dart';
2323
import 'package:build_test/build_test.dart';
2424
2525
main() async {
26-
await run(['watch', '--delete-conflicting-outputs', '-o', 'output_dir'], [
26+
await run(['watch', '-o', 'output_dir'], [
2727
applyToRoot(new TestBuilder(
2828
buildExtensions: appendExtension('.copy', from: '.txt')))
2929
]);

0 commit comments

Comments
 (0)