Deprecate dartanalyzer command

Change-Id: I8d2fb8a5dbac0f81c8cad770ccfb2e3bbf2b0880
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219702
Commit-Queue: Michael Thomsen <mit@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
This commit is contained in:
Michael Thomsen 2021-11-09 13:23:42 +00:00 committed by commit-bot@chromium.org
parent 07cd8ddd5a
commit f7af5c5256
3 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,17 @@
## 2.16.0
### Tools
#### Dart command line
- **Breaking Change** [#46100][]: The standalone `dartanalyzer` tool has been
marked deprecated as previously announced.
Its replacement is the `dart analyze` command.
Should you find any issues, or missing features, in the replacement
command, kindly file [an issue]][].
[an issue]: https://github.com/dart-lang/sdk/issues/new
## 2.15.0
### Language

View file

@ -6,6 +6,8 @@
# Run dartanalyzer.dart on the Dart VM. This script assumes the Dart repo's
# directory structure.
echo "Warning: 'dartanalyzer' is deprecated. Please use 'dart analyze'." 1>&2
function follow_links() {
file="$1"
while [ -h "$file" ]; do

View file

@ -3,6 +3,8 @@ REM Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
REM for details. All rights reserved. Use of this source code is governed by a
REM BSD-style license that can be found in the LICENSE file.
echo Warning: 'dartanalyzer' is deprecated. Please use 'dart analyze'. 1>&2
setlocal
rem Handle the case where dart-sdk/bin has been symlinked to.
set DIR_NAME_WITH_SLASH=%~dp0