Skip to content

Commit f7af5c5

Browse files
mit-mitcommit-bot@chromium.org
authored andcommitted
Deprecate dartanalyzer command
Change-Id: I8d2fb8a5dbac0f81c8cad770ccfb2e3bbf2b0880 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219702 Commit-Queue: Michael Thomsen <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Ben Konyi <[email protected]>
1 parent 07cd8dd commit f7af5c5

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
## 2.16.0
2+
3+
### Tools
4+
5+
#### Dart command line
6+
7+
- **Breaking Change** [#46100][]: The standalone `dartanalyzer` tool has been
8+
marked deprecated as previously announced.
9+
Its replacement is the `dart analyze` command.
10+
Should you find any issues, or missing features, in the replacement
11+
command, kindly file [an issue]][].
12+
13+
[an issue]: https://github.com/dart-lang/sdk/issues/new
14+
115
## 2.15.0
216

317
### Language

sdk/bin/dartanalyzer

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# Run dartanalyzer.dart on the Dart VM. This script assumes the Dart repo's
77
# directory structure.
88

9+
echo "Warning: 'dartanalyzer' is deprecated. Please use 'dart analyze'." 1>&2
10+
911
function follow_links() {
1012
file="$1"
1113
while [ -h "$file" ]; do

sdk/bin/dartanalyzer.bat

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ REM Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
33
REM for details. All rights reserved. Use of this source code is governed by a
44
REM BSD-style license that can be found in the LICENSE file.
55

6+
echo Warning: 'dartanalyzer' is deprecated. Please use 'dart analyze'. 1>&2
7+
68
setlocal
79
rem Handle the case where dart-sdk/bin has been symlinked to.
810
set DIR_NAME_WITH_SLASH=%~dp0

0 commit comments

Comments
 (0)